ExOpenSea.Assets.Show (ex_open_sea v0.0.4)

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() :: :parse_result_item | String.t()
@type params() :: %{
  optional(:account_address) => String.t(),
  optional(:include_orders) => boolean()
}
@type result() :: {:ok, assets_cursor()} | {: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()