getNativeBalance
getNativeBalance(
options):Promise<bigint>
Defined in: sdks/agent/src/util/TransactionUtil.ts:270
Reads the native token balance (e.g. ETH on Base) for a given address from the blockchain.
Parameters
Section titled “Parameters”options
Section titled “options”The query options including chain and wallet address
Returns
Section titled “Returns”Promise<bigint>
The balance in the chain’s smallest native unit (wei) as a bigint