Current gas fees on any of the supported EVM chains from the last 20 blocks: next-block base fee, slow/normal/fast priority fees (10th/50th/90th percentile, median across blocks), a suggested max fee and what a plain transfer costs in native token and USD. Read-only, no key.

Paid per call via x402. Send without payment to get the exact price in the 402.

post/v1/tools/gas-price

Request

  • Base URL: https://agents.dexl.io
  • URL: https://agents.dexl.io/v1/tools/gas-price
  • Auth: API key in header X-Payment

Request body

chainstring

Chain id, e.g. base, ethereum, arbitrum, bsc, polygon, optimism.

Response

The tool output

Changes

No recorded changes to this operation across all 1 revision of this API.