GetCryptoTokenBalance

Retrieves the balance of a specific crypto token in a wallet.

Client Authoritative (default)

void UVyWalletAPI::GetCryptoTokenBalance(FString walletId, FString token, const FVyOnGetCryptoTokenBalanceComplete& OnComplete)

Parameters

walletId

FString

The ID of the wallet to retrieve the token balance from.

token

FString

The symbol or name of the crypto token to retrieve the balance for.

OnComplete

FVyOnGetCryptoTokenBalanceComplete

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

OnComplete [FVyGetCryptoTokenBalanceResponse]

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