Turn gas into money exactly (wei-precise)
Turn gas into money exactly (wei-precise): give gas units or an action preset (eth_transfer, erc20_transfer, erc20_approve, uniswap_v2_swap, uniswap_v3_swap, nft_mint, nft_transfer, safe_multisig_exec, contract_deploy_small), base fee and priority fee in gwei, optional max fee, optional L2 L1-data fee and native token price → fee in wei/gwei/native/USD, burned vs tip, worst-case cost at max fee and transactions per $1. Pair with /v1/chain/gas for live fees.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/chain/gas-cost
| Category | Market data |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-02 | valid payment request | 402 | $0.001 | 954 ms |
| 2026-12-01 | valid payment request | 402 | $0.001 | 971 ms |
| 2026-11-30 | valid payment request | 402 | $0.001 | 969 ms |
| 2026-11-29 | valid payment request | 402 | $0.001 | 962 ms |
| 2026-11-28 | valid payment request | 402 | $0.001 | 946 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"action": "erc20_transfer",
"base_fee_gwei": "0.012",
"l1_fee_eth": "0.0000004",
"native_price_usd": "3000",
"priority_fee_gwei": "0.001"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"action": {
"description": "Preset: eth_transfer, erc20_transfer, uniswap_v3_swap, \u2026",
"type": "string"
},
"base_fee_gwei": {
"description": "Base fee in gwei",
"type": "string"
},
"gas": {
"description": "Gas units (or use action)",
"type": "string"
},
"l1_fee_eth": {
"description": "L2 only: L1 data fee in ETH (optional)",
"type": "string"
},
"max_fee_gwei": {
"description": "Max fee in gwei (optional)",
"type": "string"
},
"native_price_usd": {
"description": "ETH (native token) price in USD (optional)",
"type": "string"
},
"priority_fee_gwei": {
"description": "Tip in gwei (default 0)",
"type": "string"
}
},
"required": [
"base_fee_gwei"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}