GetNativeBalance (ByWalletAddress)

Retrieves the native token balance for a specific wallet address on the specified blockchain network. This endpoint returns the current balance in both human-readable and raw formats, along with token metadata and USD exchange rates when available.

void GetNativeBalanceByWalletAddress(EVyChain Chain, FString WalletAddress, const FVyOnGetNativeBalanceByWalletAddressComplete& OnComplete) const;

Parameters

Chain

Blockchain network on which to query the wallet balance

WalletAddress

FString

Public blockchain address of the wallet to query

OnComplete

FVyOnGetNativeBalanceByWalletAddressComplete

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

OnComplete Callback (FVyOnGetNativeBalanceByWalletAddressComplete) Contains a FVyWalletNativeBalanceDto response type

Last updated