Skip to content
Fourohtwo

Pre-sign gas estimate on 16 EVM chains

saylorinnovations.com/api/chain/estimate-gas

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.

SolanaDown
GEThttps://saylorinnovations.com/api/chain/estimate-gas

Uptime75.0% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/chain/estimate-gas?to=0x000000000000000000000000000000000000dEaD&from=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&chain=ethereum&value=1000000000000000"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "to": "0x000000000000000000000000000000000000dEaD",
  "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "chain": "ethereum",
  "value": "1000000000000000"
}

More from Saylor Innovations Data DeskProvider status