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:
Parameter | Required | Description |
---|---|---|
walletAddress | True | Wallet address the wallet you want to fetch the balance of |
secretType | True | The relevant blockchain (e.g Ethereum, Matic,..) |
Example:
venlyConnect.api.getNonfungiblesByAddress("ETHEREUM","0x3ad396dcb86d3a72855f7e1e305eaa144ec9b434");
Object Types
Updated 12 months ago