Skip to main content
You can get the native balance in the active network of the wallet account by calling the getBalance function. If you wish to get token balances for a specific network, use getBalances. For balances across multiple chains, use getMultichainBalances instead.

Usage

import { getBalance } from '@dynamic-labs-sdk/client';

const { balance } = await getBalance({ walletAccount });
console.log(balance);