Log In

NFT Refresh API - NFT API

Refresh selected NFT metadata.

This endpoint is supported on the following chains and networks:

  • Conflux: Core

Parameters

  • contractAddress: [string] address of NFT contract
  • ownerAddress: [string] address of owner
  • tokenId: [hexadecimal] Id for NFT

Example

request1

curl --location --request PUT 'https://cfx-core.unifra.io/v1/ad2eb3c7a9404cc6a35a6641eaf70577/nft-api/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contractAddress": "cfx:acdc3h37014a4tkfy9r3nyh4b29f5e0pv6h0tch8du"
}'

request2

curl --location --request PUT 'https://cfx-core.unifra.io/v1/ad2eb3c7a9404cc6a35a6641eaf70577/nft-api/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contractAddress": "cfx:acdc3h37014a4tkfy9r3nyh4b29f5e0pv6h0tch8du",
    "tokenId": "0xde9"
}'

request3

curl --location --request PUT 'https://cfx-core.unifra.io/v1/ad2eb3c7a9404cc6a35a6641eaf70577/nft-api/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ownerAddress": "cfx:aamt7twvntt9dyc6bffy59xvu4ts2py0tprwyrb0d2"
}'
Language
Click Try It! to start a request and see the response here!