ankr_getNFTsByOwner

Retrieves a list of NFTs (ERC721/ERC1155/ENS/POAP) that belong to the specified account.

Request

This endpoint expects an object.
walletAddressstringRequired
Address to query for NFTs. Supports ENS.
blockchainenum or list of enumsOptional

Name of the blockchain or list of blockchain names. Single: eth. Multiple: [arbitrum, avalanche, avalanche_fuji, bsc, eth, eth_goerli, fantom, optimism, polygon, polygon_mumbai, syscoin]. All chains: empty value.

filterlist of nullable maps from strings to lists of stringsOptional

Filtering. Contract address (retrieves all NFTs by the address) or contract address plus NFT ID (retrieves only that NFT). key-value.

pageSizeintegerOptional>=1

Number of entries per page. Max value — 50, default value — 10.

pageTokenstringOptional
Current page token for pagination.

Response

Result returned by ankr_getNFTsByOwner.

assetslist of objects or null
ownerstring
Wallet address. Supports ENS.
nextPageTokenstringOptional
Next page token for pagination.