getBalance
Fetch the native balance of a wallet.
This function returns all the wallets for the specified user (bearer token)
venlyConnect.api.getBalance("d91b644a-076f-44bf-ae90-29251df19784");
Signature:
venlyConnect.api.getBalance(walletId: string): Promise<WalletBalance>
Returns:
Promise<WalletBalance>
Parameters:
Parameter | Required | Description |
---|---|---|
walletId | True | Wallet ID of the wallet you want to fetch the balance of |
Example:
venlyConnect.api.getBalance("d91b644a-076f-44bf-ae90-29251df19784");
Object Types
Updated 11 months ago