getErc20TokenByWalletAddress

Description

This endpoint gets the ERC20 token balance by Wallet ID, wallet address, and token address.

public getErc20TokenByWalletAddress(chain: VyChain, walletAddress: string, token: string, query?: VyQuery_GetErc20TokenByWalletAddress) : VyPromise<VyErc20TokenDto>

Parameters

chain

Blockchain network on which the token contract is deployed

walletAddress

string

The address of the wallet to fetch token balances for

token

string

Contract address of the token (contract) to fetch the balance for

query (optional)

Query to filter the operation results

Returns

VyPromise<VyErc20TokenDto> ERC20 token balance of wallet retrieved successfully.

Last updated