get_balance
Check the balance of any wallet address on the 0G network. Retrieve account holdings on mainnet or testnet with a simple query.
Instructions
Get the balance of an address on 0G network
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 |
|---|---|---|---|
| address | Yes | The wallet address to check balance for | |
| network | No | Network to query (default: testnet) | testnet |