Get balance
get_balanceThe LAX balance (wei and LAX) and nonce (transactions sent) of an address, at the latest block or at "block" (number or hash). Reading a block older than the node's recent state window needs an archive node; the error says so when it is not one. Note that block rewards cannot be spent until 100 blocks after the block that paid them (coinbase maturity), although they are included in the balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | block number, hash or "latest" (default); older blocks may need an archive node | |
| address | Yes | 0x-prefixed 20-byte address |