ExOpenSea.Assets.Show (ex_open_sea v0.0.7)

Return information about a single NFT, based on its contract address and token ID. The response will contain an Asset Object.

https://docs.opensea.io/reference/retrieving-a-single-asset

Link to this section Summary

Link to this section Types

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

assets_cursor()

@type assets_cursor() :: ExOpenSea.AssetsCursor.t()
Link to this type

contract_address()

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

error_reason()

@type error_reason() :: Maptu.non_strict_error_reason() | String.t()
@type params() :: %{
  optional(:account_address) => String.t(),
  optional(:include_orders) => boolean()
}
Link to this type

raw_payload()

@type raw_payload() :: map()
@type result() ::
  {:ok, assets_cursor(), 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()