View Source Soroban.RPC.EventsPayload (Soroban v0.8.0)
EventsPayload
struct definition.
Link to this section Summary
Link to this section Types
@type args() :: Keyword.t()
@type cursor() :: binary() | nil
@type cursor_validation() :: {:ok, cursor()}
@type error() :: {:error, atom()}
@type filters() :: [Soroban.RPC.EventFilter.t()] | nil
@type limit() :: number() | nil
@type limit_validation() :: {:ok, limit()}
@type pagination() :: map() | nil
@type pagination_validation() :: {:ok, pagination()} | error()
@type request_args() :: map() | :error
@type start_ledger() :: String.t() | nil
@type start_ledger_validation() :: {:ok, start_ledger()} | error()
@type t() :: %Soroban.RPC.EventsPayload{ filters: filters(), pagination: pagination(), start_ledger: start_ledger() }
Link to this section Functions
@spec to_request_args(t()) :: request_args()