cast_gas_price
Retrieves the current gas price from a specified RPC URL so you can estimate transaction costs before sending on-chain operations.
Instructions
Get the current gas price (cast gas-price).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rpcUrl": "<rpcUrl>"
},
"name": "cast_gas_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpcUrl | Yes | RPC URL of the network |