ExOpenSea.AssetOffers.Index (ex_open_sea v0.0.7)

Return active offers on a given NFT

https://docs.opensea.io/reference/asset-offers

Link to this section Summary

Link to this section Types

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

contract_address()

@type contract_address() :: String.t()
Link to this type

error_reason()

@type error_reason() :: :parse_result_item | String.t()
@type offer() :: ExOpenSea.AssetOffer.t()
@type params() :: %{optional(:limit) => String.t()}
Link to this type

raw_payload()

@type raw_payload() :: map()
@type result() ::
  {:ok, [offer()], raw_payload()}
  | {:error, error_reason(), raw_payload() | nil}
@type token_id() :: non_neg_integer()

Link to this section Functions

Link to this function

get(api_key, contract_address, token_id, params \\ %{})

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