View Source Soroban.RPC.EventsPayload (Soroban v0.22.0)

EventsPayload struct definition.

Summary

Types

@type args() :: Keyword.t()
@type error() :: {:error, atom()}
@type filters() :: [Soroban.RPC.EventFilter.t()] | nil
@type filters_validation() :: {:ok, filters()} | error()
@type pagination() :: map() | nil
@type request_args() :: map() | :error
@type start_ledger() :: non_neg_integer() | nil
@type t() :: %Soroban.RPC.EventsPayload{
  filters: filters(),
  pagination: pagination(),
  start_ledger: start_ledger()
}

Functions

@spec new(args :: args()) :: t()
@spec to_request_args(t()) :: request_args()