ExOpenSea.AssetListings.Index (ex_open_sea v0.0.7)

Return active listings on a given NFT

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

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 listing() :: ExOpenSea.AssetListing.t()
@type params() :: %{optional(:limit) => String.t()}
@type result() :: {:ok, [listing()]} | {:error, error_reason()}
@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()