wallet_get_balance
Retrieve the balance of an Ethereum or EVM-compatible wallet using a private key, mnemonic, or JSON. Optionally, specify a block tag to query the balance at a specific point in time.
Instructions
Get the balance of the wallet
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockTag | No | Optional block tag (latest, pending, etc.) | |
wallet | No | The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set. |
Input Schema (JSON Schema)
{
"properties": {
"blockTag": {
"description": "Optional block tag (latest, pending, etc.)",
"type": "string"
},
"wallet": {
"description": "The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set.",
"type": "string"
}
},
"required": [],
"type": "object"
}