Tool detail
gas
Returns current gas price in gwei plus the cost of a plain transfer for one or more of Ethereum, Base, Arbitrum, Optimism or Polygon.
Categories: Onchain data, Market prices
Use when
- check current gas price before sending a transaction
- compare gas costs across Ethereum, Base, Arbitrum, Optimism and Polygon
- estimate the cost of a plain transfer on a given chain
Not for
- not historical gas data or a fee-rate histogram
- not Bitcoin mempool fees
Inputs
GET query param: chain (comma-separated chain list, e.g. base,ethereum; per docs, optional — listing's own schema declares no properties)
Inputs undocumented: open object without declared properties
Endpoint
- Method
GET- URL
https://onchain-toolkit.bowling-anthony.workers.dev/gas
Payment
- Protocol
- x402
- Listed price
- 0.005 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://onchain-toolkit.bowling-anthony.workers.dev/gas
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z