{"slug":"api-vextorium-com-evm-estimar-gas-pago-f900fe","title":"Estimate the gas a transaction will use (eth_estimateGas) and its cost at the cu","host":"api.vextorium.com","method":"POST","resource":"https://api.vextorium.com/evm-estimar-gas-pago","category":"market","description":"Estimate the gas a transaction will use (eth_estimateGas) and its cost at the current gas price, or the revert reason if it would fail. Nothing is sent. Works on Base, Ethereum, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Gnosis, Linea, Scroll, Sonic and Unichain.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":328,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"a":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","datos":"0x18160ddd","de":"0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf","red":"base"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"a":{"type":"string"},"datos":{"type":"string"},"de":{"type":"string"},"red":{"description":"Chain (default base)","enum":["base","ethereum","arbitrum","optimism","polygon","bnb","avalanche","gnosis","linea","scroll","sonic","unichain"],"type":"string"},"valor":{"type":"number"}},"required":["de","a"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"coste_estimado":{"type":["number","null"]},"ejecutable":{"type":["boolean","null"]},"gas_estimado":{"type":["number","null"]},"gas_recomendado":{"type":["number","null"]},"nativo":{"type":["string","null"]},"precio_gas_gwei":{"type":["number","null"]},"red":{"type":["string","null"]}},"type":["object","null"]},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":328,"error":null}],"description_full":"Estimate the gas a transaction will use (eth_estimateGas) and its cost at the current gas price, or the revert reason if it would fail. Nothing is sent. Works on Base, Ethereum, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Gnosis, Linea, Scroll, Sonic and Unichain.","last_updated":"2026-10-02T20:51:13.129Z","schemes":["exact"]}