Fee History & Recommended Fees (EIP-1559)
Base-fee trend over the last N blocks plus priority-fee percentiles (10th/50th/90th) via eth_feeHistory, and a recommended maxFeePerGas / maxPriorityFeePerGas with the reasoning stated, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. A single gas number cannot tell an agent whether fees are rising or falling; this returns the direction, the range, mean block utilization, and a maxFee that leaves EIP-1559 headroom (the base fee may rise 12.5% per block, so a maxFee set at the current
Offering
- Provider
- store.agentexchange.work
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://store.agentexchange.work/chain/fee-history- MIME type
- Not provided
- First seen
- 2026-10-16T02:54:53.696Z
- Last seen
- Tags
- Onchain, RPC, Gas, EIP-1559, fee-history, base-fee, priority-fee, Trading, settlement, data-feed
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez"
}
]Observed health
- Status
- Healthy
- Latest latency
- 1673 ms
- Average latency
- 1177 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 13 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET"
]
},
"queryParams": {
"type": "object",
"properties": {
"blocks": {
"type": "number",
"description": "How many recent blocks to sample, 1-100 (default 20)"
},
"chain": {
"type": "string",
"description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"
}
}
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"trend": {
"type": "string"
},
"change_pct": {
"type": "number"
},
"recommended": {
"type": "object"
}
}
}
},
"required": [
"type"
]
}