GetCryptoTokenBalanceByAddress

Retrieves the balance of a specific crypto token for a given wallet address on a specified chain.

Client Authoritative (default)

void UVyWalletAPI::GetCryptoTokenBalanceByAddress(EVyChain chain, FString walletAddress, FString token, const FVyOnGetCryptoTokenBalanceByAddressComplete& OnComplete)

Parameters

chain

The chain on which the wallet address and token exist.

walletAddress

FString

The address of the wallet for which the token balance is being retrieved.

token

FString

The token for which the balance is being retrieved.

OnComplete

FVyOnGetCryptoTokenBalanceByAddressComplete

(Delegate) Executes when the operation is complete (either success or fail). This delegate exposes a single parameter of type FVyGetCryptoTokenBalanceByAddressResponse.

OnComplete [FVyGetCryptoTokenBalanceByAddressResponse]

Success

bool

Indicates if the operation was successful

Errors

Array containing potential error information in case the operation failed.

ResponseContext

Raw response data of the operation

Result

Contains the result of the operation, only if the operation succeeded.

Last updated