ExOpenSea.Events.List (ex_open_sea v0.0.4)

Link to this section Summary

Link to this section Types

@type api_key() :: ExOpenSea.ApiKey.t()
Link to this type

error_reason()

@type error_reason() :: :parse_result_item | String.t()
Link to this type

events_response()

@type events_response() :: ExOpenSea.EventsResponse.t()
@type params() :: %{
  optional(:only_opensea) => boolean(),
  optional(:token_id) => non_neg_integer(),
  optional(:collection_slug) => String.t(),
  optional(:collection_editor) => String.t(),
  optional(:account_address) => String.t(),
  optional(:event_type) => String.t(),
  optional(:auction_type) => String.t(),
  optional(:occured_before) => non_neg_integer(),
  optional(:cursor) => String.t()
}
@type result() :: {:ok, [events_response()]} | {:error, error_reason()}

Link to this section Functions

Link to this function

get(api_key, params \\ %{})

@spec get(api_key(), params()) :: result()