estimateGas
Calculate gas requirements for Ethereum transactions by providing recipient address, value, data, and chain ID. Simplify transaction cost estimation for Ethereum-based automation.
Instructions
Estimate gas for a transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | ||
data | No | ||
to | Yes | ||
value | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"type": "number"
},
"data": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"to"
],
"type": "object"
}