GetErc20Tokens (ByWalletAddress)

Retrieves ERC20 token balances for a specific wallet address on the specified blockchain network. This endpoint returns detailed balance information including token metadata, exchange rates, and USD valuations when available.

Filtering Options:

  • Query specific tokens by contract address

  • Show all tokens or only those with non-zero balances

  • Include or exclude potential spam/scam tokens

void GetErc20TokensByWalletAddress(EVyChain Chain, FString WalletAddress, const FVyQuery_GetErc20TokensByWalletAddress& Query, const FVyOnGetErc20TokensByWalletAddressComplete& OnComplete) const;

Parameters

Chain

Blockchain network on which to query token balances

WalletAddress

FString

The address of the wallet to fetch token balance for

Query

Optional Query Parameters

OnComplete

FVyOnGetErc20TokensByWalletAddressComplete

The callback function called when the user preferences retrieval operation is complete.

OnComplete Callback (FVyOnGetErc20TokensByWalletAddressComplete) Contains a TArray<FVyErc20TokenDto> response type

Last updated