getNonfungiblesByAddress

Fetch non-fungible items by wallet address.

This function returns the non-fungible (ERC721, ERC1155) items for a given wallet

venlyConnect.api.getNonfungiblesByAddress("ETHEREUM","0x3ad396dcb86d3a72855f7e1e305eaa144ec9b434")

Signature:

getNonfungiblesByAddress = (secretType: SecretType, walletAddress: string): Promise<NFT[]>

Returns:

Promise<NFT[]>

Parameters:

ParameterRequiredDescription
walletAddressTrueWallet address the wallet you want to fetch the balance of
secretTypeTrueThe relevant blockchain (e.g Ethereum, Matic,..)

Example:

venlyConnect.api.getNonfungiblesByAddress("ETHEREUM","0x3ad396dcb86d3a72855f7e1e305eaa144ec9b434");

Object Types

📘