Please note that this RPC method requires the Token and NFT API v2 bundle add-on enabled on your Quicknode endpoint.
Parameters
- objectobjectREQUIRED
A custom object with the following fields:
- walletstringREQUIRED
The wallet address to check for NFTs
- contractsarrayREQUIRED
The list of ERC-721 and/or ERC-1155 NFT contract addresses, suffixed with :tokenIdto specify a specific ID. For example, providing the value 0x2106c...7aeaa:1234will verify ownership of Loopy Donuts' NFT token with ID 1234. You may include up to 20 contract addresses per request
Returns
- objectobject
The custom response object:
- ownerstring
The wallet address we checked for NFTs
- assetsarray
An array of owned NFTs for the the provided wallet, in the same format as the inputted array. If an inputted array isn't returned, then it does not belong to the wallet
Request
Response
1{2"jsonrpc": "2.0",3"id": 67,4"result": {5"owner": "0x91b51c173a4bdaa1a60e234fc3f705a16d228740",6"assets": [7"0x2106c00ac7da0a3430ae667879139e832307aeaa:3643",8"0xd07dc4262bcdbf85190c01c996b4c06a461d2430:133803"9]10}11}
1{2"jsonrpc": "2.0",3"id": 67,4"result": {5"owner": "0x91b51c173a4bdaa1a60e234fc3f705a16d228740",6"assets": [7"0x2106c00ac7da0a3430ae667879139e832307aeaa:3643",8"0xd07dc4262bcdbf85190c01c996b4c06a461d2430:133803"9]10}11}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free