estimate_gas
Estimate gas for a 0G transaction using recipient address, value, and optional data. Returns gas cost for mainnet or testnet.
Instructions
Estimate gas for a transaction on 0G network
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address | |
| data | No | Transaction data (optional) | |
| value | No | Value to send in wei | |
| network | No | Network to query (default: testnet) | testnet |