Base gas price
Base gas price: base fee, priority fee p25/p50/p90 over the last 20 blocks, ready-to-sign maxFeePerGas and maxPriorityFeePerGas for slow, normal and fast inclusion, an L1 data-fee upper bound, and the estimated total cost in wei of an ETH transfer and an ERC-20 transfer, live from Base mainnet RPC with the block number. Required: none; optional blocks (5 to 50). $0.0015 USDC on Base. Failed read, no charge. No account, no API key. Estimates, not inclusion guarantees.
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://ontarioprotocol.com/api/x402/base/gas
| Category | Market data |
|---|---|
| Provider host | ontarioprotocol.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 42 from 11 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"blocks": 20
},
"type": "http"
}
Promised output schema (from the provider)
{
"properties": {
"input": {
"properties": {
"queryParams": {
"additionalProperties": false,
"properties": {
"blocks": {
"default": 20,
"description": "Optional number of recent blocks the fee percentiles cover, 5 to 50. Default 20.",
"maximum": 50,
"minimum": 5,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"queryParams"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"type": "object"
}
},
"required": [
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}