Blockdaemon Documentation
POST Refresh NFT Token
POST Refresh NFT Token
Ubiquity NFT URL
Path Parameters
Request Body
Example Queries
Example Response
POST Refresh NFT Token
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.
Developer documentation: POST Refresh NFT Token
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.
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:
{
"contract_address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
"token_id": "9999"
}