{"slug":"saylorinnovations-com-api-chain-estimate-gas-d8a578","title":"Pre-sign gas estimate on 16 EVM chains","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/chain/estimate-gas","category":"market","description":"Pre-sign gas estimate on 16 EVM chains: gas units, fee in native coin, price in gwei and revert detection for a transaction, nothing is sent.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":288,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"chain":"ethereum","from":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","to":"0x000000000000000000000000000000000000dEaD","value":"1000000000000000"},"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":{"chain":{"description":"chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id","type":"string"},"from":{"description":"optional sender address (needed when the call depends on the sender)","type":"string"},"to":{"description":"the recipient or contract address","type":"string"},"value":{"description":"optional value in wei (decimal or 0x hex)","type":"string"}},"required":["chain","to"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"base_fee_gwei":{"description":"latest base fee in gwei","type":["number","null"]},"chain":{"description":"the chain name that was queried","type":"string"},"chain_id":{"description":"EIP-155 chain id of that network","type":"number"},"estimated_fee_native":{"description":"gas estimate times gas price in native coin units (excludes any L1 data fee on L2s)","type":["number","null"]},"from":{"description":"sender used for the simulation, if given","type":["string","null"]},"gas_estimate":{"description":"estimated gas units, null when the call would revert","type":["number","null"]},"gas_limit_with_20pct_buffer":{"description":"estimate plus 20 percent, a safe gas limit","type":"number"},"gas_price_gwei":{"description":"current gas price in gwei","type":["number","null"]},"is_plain_transfer":{"description":"true for a 21000 gas native transfer","type":"boolean"},"native_symbol":{"description":"ticker of the native coin","type":"string"},"note":{"description":"scope of the estimate","type":"string"},"revert_reason":{"description":"node error text when the call would revert","type":"string"},"source":{"description":"where the data was read from","type":"string"},"to":{"description":"recipient or contract","type":"string"},"will_revert":{"description":"true when the node simulation failed","type":"boolean"}},"required":["chain","chain_id","to","will_revert","note","source"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":288,"error":null}],"description_full":"Pre-sign gas estimate on 16 EVM chains: gas units, fee in native coin, price in gwei and revert detection for a transaction, nothing is sent.","last_updated":"2026-10-21T02:32:15.449Z","schemes":["exact"]}