Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/explorer/lib/explorer/paging_options.ex

13 lines
317 B

defmodule Explorer.PagingOptions do
@moduledoc """
Defines paging options for paging by a stable key such as a timestamp or block
number and index.
"""
@type t :: %__MODULE__{key: key, page_size: page_size}
@typep key :: any()
@typep page_size :: non_neg_integer()
defstruct [:key, :page_size]
end