The core data model in the BlockVision API is the asset, which represents a unique digital item whose ownership is managed by the blockchain.
Here is an overview of the fields contained in an asset.
Field Name | Object | Description | Example |
---|---|---|---|
contractAddress | string | String - Contract address for the NFT asset | 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d |
contractName | string | String - Contract name for the NFT asset | BoredApeYachtClub |
tokenId | string | String - The token ID of the NFT | 1 |
ercType | string | The ERC type of the NFT (ERC-721 or ERC-1155) | erc721 |
amount | int | Integer - The amount of the NFT (1 by default for ERC-721) | 1 |
metadataJson | object | The metadata in JSON format | {"image":"ipfs://"} |
name | string | String -The name of the NFT asset | # 1 |
contentUri | string | String - The content URI to display | image/png |
imageUri | string | String - The image URI to display | QmPbxeGcXhYQQNgsC 6a36dDyYUcHgMLnGKnF8pVFmGsvqi |
externalLink | string | String - External link to the original website | |
rarityRank | int | Integer - The rarity rank of the item | 2668 |
isSuspicious | Boolean | TRUE if it is a Suspicious NFT | false |
attributes | object | The NFT attributes | [{"attribute_name":"Mouth","attribute_value":"Grin","percentage":"7.13%"},{"attribute_name":"Clothes","attribute_value":"Vietnam Jacket","percentage":"2.24%"},{"attribute_name":"Background","attribute_value":"Orange","percentage":"12.73%"},{"attribute_name":"Eyes","attribute_value":"Blue Beams","percentage":"0.49%"},{"attribute_name":"Fur","attribute_value":"Robot","percentage":"2.65%"}] |