Skip To Content

Blockdaemon Documentation

POST Refresh NFT Token

POST Refresh NFT Token (V1)
Ubiquity NFT URL
Path Parameters
Request Body
Example Queries
Example Response


POST Refresh NFT Token (V1)

https://{ubiquity_nft_url}/{protocol}/{network}/token/refresh

Refreshes the metadata of an NFT token by a given contract address and token ID.

See the media, description, and attributes sections of the response returned by GET NFT Asset (V1).

Developer documentation: POST Refresh NFT Token (V1)
Learn how to authorize your request: Authentication Guide


Ubiquity URL

To run a query, add your Ubiquity NFT URL. For most users this will be:

  • svc.blockdaemon.com/nft/v1

An example of this is shown below:

https://svc.blockdaemon.com/nft/v1/{protocol}/{network}/token/refresh

Note: If you created your Ubiquity API Key before September 2022, add the legacy Ubiquity NFT URL:

  • ubiquity.api.blockdaemon.com/nft/v1

An example of this is shown below:

https://ubiquity.api.blockdaemon.com/nft/v1/{protocol}/{network}/token/refresh

Path Parameters

You should specify a protocol and a network as path parameters, e.g.:

  • ethereum/mainnet

Request Body

In the body of your request, specify a contract address and a token ID, for example:

{
    "contract_address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
    "token_id": "9999"
}

Example Queries

The query in this section provides a useful examples for POST Refresh NFT Token (V1).

To refresh a token in the Ethereum Mainnet network, use the following query:

svc.blockdaemon.com/nft/v1/ethereum/mainnet/token/refresh

Example Response

The following is a typical response from Refresh NFT Token (V1):

{
    "contract_address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
    "token_id": "9999"
}

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.