Get NFT Metadata
Parameter | Type | Description |
---|---|---|
chain | string | The token chain. |
token_address | string | The token address. |
token_id | string | Token ID. |
protect_from_spam | boolean | Optional, defaults to false . If true , any potential spam link found in collection name, token name, symbol will be replaced with URL redacted for user protection |
Parameter | Type | Description |
---|---|---|
amount | string | The amount of this NFT the user owns (used by ERC1155 ). |
block_number_minted | integer | The block height when the NFT was minted. May be null . |
block_number | integer | The block height when the amount or owner changed. |
chain | string | Chain name. One of AVALANCHE , BSC , ETH , FANTOM , or POLYGON . |
name | string | May be null . An NFT collection name. |
contract_type | string | The type of NFT contract standard. One of ERC721 or ERC1155 . |
last_token_uri_sync | string | When the token_uri was last updated. |
last_metadata_sync | string | When the metadata was last updated. |
metadata | string | The metadata of the token. May be null . |
minter_address | string | Minter address. May be null . |
owner_of | string | The wallet address of the owner of the NFT. |
possible_spam | boolean | If true , the contract address has been identified as associated with spam or suspicious activities. |
possible_phishing | boolean | If true , the token has been identified as associated with phishing, as at least one of domain fields is found in database with phishing domains. |
symbol | string | May be null . The symbol of the NFT contract. |
token_address | string | The address of the NFT contract. |
token_id | string | The token ID of the NFT. |
token_hash | string | The token hash. May be null . |
token_uri | string | The URI to the metadata of the token. May be null . |
token_domain | string | Token domain. May be null . |
uri_meta | object | A standard NftMetadata object. |
Get NFT Metadata
POST
get_nft_metadata{
"userpass": "RPC_UserP@SSW0RD",
"method": "get_nft_metadata",
"mmrpc": "2.0",
"params": {
"token_address": "0xfd913a305d70a60aac4faac70c739563738e1f81",
"token_id": "214300044414",
"chain": "BSC"
}
}
{
"mmrpc": "2.0",
"result": {
"token_address": "0x2953399124f0cbb46d2cbacd8a89cf0599974963",
"amount": "1",
"owner_of": "0xab95d01bc8214e4d993043e8ca1b68db2c946498",
"token_hash": "af811b641bccbdc10c444ba4f3a2ffb5",
"name": "OpenSea Collections",
"symbol": "OPENSTORE",
"token_uri": "https://api.opensea.io/api/v2/metadata/matic/0x2953399124F0cBB46d2CbACD8A89cF0599974963/0xf43db4f488f644b73a9442de4978fb7572b73d85000000000000110000002710",
"token_domain": "api.opensea.io",
"metadata": "{\"image\":\"https://i.seadn.io/gae/nY8wjVVQqDZBl-Bk3h9kwSqR1bXt16x_tESRAQmctEb0SCFCPtvtSsBtp98TFiUzP-LpMGt_kiqHDDOfkgbxOuWxkdH4aBNkmzrjZM0?w=500&auto=format\",\"name\":\"Doge Napoleon\",\"description\":null,\"external_link\":null,\"animation_url\":\"https://openseauserdata.com/files/df71203f48e54d027bb2c47b2840cacb.mp4\",\"traits\":[]}",
"last_token_uri_sync": "2023-09-01T04:04:30.867Z",
"last_metadata_sync": "2023-09-01T04:35:01.128Z",
"minter_address": "ERC1155 tokens don't have a single minter",
"possible_spam": true,
"chain": "POLYGON",
"token_id": "110473361632261669912565539602449606788298723469812631769659886404530570536720",
"block_number_minted": 19645247,
"block_number": 45776404,
"contract_type": "ERC1155",
"possible_phishing": false,
"uri_meta": {
"image": "https://i.seadn.io/gae/nY8wjVVQqDZBl-Bk3h9kwSqR1bXt16x_tESRAQmctEb0SCFCPtvtSsBtp98TFiUzP-LpMGt_kiqHDDOfkgbxOuWxkdH4aBNkmzrjZM0?w=500&auto=format",
"image_url": "https://i.seadn.io/gae/nY8wjVVQqDZBl-Bk3h9kwSqR1bXt16x_tESRAQmctEb0SCFCPtvtSsBtp98TFiUzP-LpMGt_kiqHDDOfkgbxOuWxkdH4aBNkmzrjZM0?w=500&auto=format",
"image_domain": "i.seadn.io",
"name": "Doge Napoleon",
"description": null,
"attributes": null,
"animation_url": "https://openseauserdata.com/files/df71203f48e54d027bb2c47b2840cacb.mp4",
"animation_domain": "openseauserdata.com",
"external_url": null,
"external_domain": null,
"image_details": null
}
},
"id": null
}
{
"mmrpc": "2.0",
"error": "Token: token_address 0xfd913a305d70a60aac4faac70c739563738e1f81, token_id 214300044414 was not found in wallet",
"error_path": "nft",
"error_trace": "nft:123]",
"error_type": "TokenNotFoundInWallet",
"error_data": {
"token_address": "0xfd913a305d70a60aac4faac70c739563738e1f81",
"token_id": "214300044414"
},
"id": null
}