zan_getNFTMetadata

Changed on

Retrieves the metadata that belongs to a particular NFT.

post/{apiKey}

Request

  • Base URL
    https://api.zan.top/data/v1/eth/mainnet
  • URL
    https://api.zan.top/data/v1/eth/mainnet/{apiKey}
  • Auth
    none declared

Path parameters

apiKeystring required

For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.

Request body

idinteger
jsonrpcstring
methodstring

Response

the result object containing metadata info on the NFT specified by request parameters.

idinteger
jsonrpcstring

Example response

{
  "result": {
    "address": "0xb39221e6790ae8360b7e8c1c7221900fad9397f9",
    "decimal": 18,
    "ecosystem": "eth",
    "name": "Yield Dai - 2021-03-31-Pool",
    "symbol": "fyDaiLP21Mar"
  },
  "id": 83,
  "jsonrpc": "2.0"
}

Changes

    • breaking

      the / response's property type changed from no type to object for status

    • info

      api operation id starknet-getTransactionByHash removed and replaced with zan_getNFTMetadata-enhance

    • info

      the request property default value changed from starknet_getTransactionByHash to zan_getNFTMetadata

    • info

      the request property default value changed from 0x02810713e01d9570f054430c1a639112e7500dde9f020960692c4011ce3a2c1c to 0xbd3531da5cf5857e7cfaa92426877b022e612cf8

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      removed subschema #1: Transaction subschema #2 from the / response property allOf list for the response status