get_gas_estimate
Estimate transaction gas costs on Base by providing a destination address plus optional calldata or ETH value, returning precise gas fees in both ETH and USD-equivalent amounts.
Instructions
Estimate gas cost for a transaction on Base. Provide a to address and optional data/value to get precise gas estimates in ETH and USD-equivalent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination address | |
| data | No | Transaction calldata (hex string) | 0x |
| value | No | ETH value to send (e.g. '0.001') | 0 |