You can get the native balance in the active network of the wallet account by calling the getBalance function. If you wish to get balances for other networks and assets, you getMultichainBalances instead.

Usage

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

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