Skip to content
Fourohtwo

tanod.dev/v1/chain/gas

Get the current gas price and base fee on Ethereum, Base or Robinhood Chain. Input: chain. Returns gas price in wei and gwei plus the latest base fee. Use when an agent must price or time a transaction before sending it.

SolanaUnchecked
POSThttps://tanod.dev/v1/chain/gas

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/chain/gas" \
  -d '{"chain":"base"}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "chain": "base"
}

More from Tanod chainpeek