cast_balance
Retrieve the ETH balance of any address on zkSync by providing the address and network RPC URL, with optional block tag and ether formatting.
Instructions
Query the ETH balance of an address (cast balance)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to query the balance of | |
| rpcUrl | Yes | RPC URL of the network | |
| blockTag | No | Block to query at, e.g. "latest", "pending", or a block number | |
| ether | No | If true, format the output in ether instead of wei |