{"slug":"agent-data-tools-revmesh2074-workers-dev-sonic-estimate-gas-665855","title":"Estimate gas, Sonic","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/sonic/estimate-gas","category":"market","description":"Estimate gas, Sonic. Estimate the gas a transaction would use on Sonic (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and S. Give to, plus value in S and calldata for a contract call, and the sender when the call depends on it. Use before sending a transaction ","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"to":"0x000000000000000000000000000000000000dEaD"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"data":{"description":"Optional 0x calldata for a contract call","examples":["0x"],"type":"string"},"from":{"description":"0x sender address (default: an empty address)","examples":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"to":{"description":"0x recipient or contract address","examples":["0x000000000000000000000000000000000000dEaD"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"value":{"description":"Amount of S to send, in S (default 0)","examples":["0"],"type":"string"}},"required":["to"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"block":{"type":"number"},"chain":{"type":"string"},"chainId":{"type":"number"},"cost":{"type":"string"},"from":{"type":"string"},"gas":{"type":"string"},"gasPriceGwei":{"type":"string"},"symbol":{"type":"string"},"to":{"type":"string"},"value":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Estimate gas, Sonic. Estimate the gas a transaction would use on Sonic (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and S. Give to, plus value in S and calldata for a contract call, and the sender when the call depends on it. Use before sending a transaction or to price a batch; for the gas price alone use sonic_gas. A transaction that would revert is 422 with the reason, uncharged.","last_updated":"2026-10-26T12:21:50.177Z","schemes":["exact"]}