# Use when an agent must price, time or route a transaction. Input: optional chain (base default, ethereum, arbitrum, monad, all). Output: JSON base fee, priority tiers (last 20 blocks), suggested maxFeePerGas, block fullness, typical cost of transfer, approve, DEX swap, mint, deploy in gas token (ETH, MON) and USD (Base adds L1 data fee); chain=all adds a compare table and the cheapest chain per action by USD. Example: ?chain=all

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://1gateway.dev/v1/onchain/gas
- Category: onchain
- Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
- Advertised price: 2000
- Last checked: 2026-11-29T06:12:49.567Z
- Score: 92.0

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/a60f9f73e7ab9b65a947e996b4a489f2
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2F1gateway.dev%2Fv1%2Fonchain%2Fgas
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2F1gateway.dev%2Fv1%2Fonchain%2Fgas)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
