Object- An object with the following fields (required):
contractAddress(hex string, required)- the contract address of the collection. BlockVision currently support both ERC721 and ERC1155.
accountAddress(hex string, required)- the account address you want to query.
tokenId(string, optional)- id of the NFT. optional for ERC721. required for ERC1155.
blockNumber(integer number, optional)- specify the blockNumber for snapshot query (default latest). BlockVision can not only support users to query the current position, but also support users to query the historical information at any time.
Object- An object with the following fields:
id(integer number)- json-rpc id.
jsonrpc(string)- json-rpc version.
result(object)- an object with the following fields:
value(string)- balance value.