estimate_gas
Calculate the gas cost for transactions on the Rootstock blockchain by providing recipient address, optional value, and transaction data to optimize block space usage.
Instructions
Estimate gas cost for a transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Optional transaction data | |
to | Yes | Recipient address | |
value | No | Optional value to send (in ether) |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Optional transaction data",
"type": "string"
},
"to": {
"description": "Recipient address",
"type": "string"
},
"value": {
"description": "Optional value to send (in ether)",
"type": "string"
}
},
"required": [
"to"
],
"type": "object"
}