---
name: igneos-base-gas-priority
description: "Base L2 fee market: next-block base fee, p25/p50/p90 tips, L1 data fee and USD cost of a transfer and a swap. Costs 0.002 USDC per call via x402."
---

# Igneos Base Gas Priority

Base L2 fee market: next-block base fee, p25/p50/p90 tips, L1 data fee and USD cost of a transfer and a swap. Costs 0.002 USDC per call via x402.

## Data source and freshness

Base chain data. See returned block, timestamp and observation fields where supplied.

## Request

GET https://igneos.systems/api/v1/base/gas-priority.php

MCP tool: base_gas_priority

Price: 0.002 USDC (2000 atomic units).

Example quote request:

```bash
curl -si "https://igneos.systems/api/v1/base/gas-priority.php"
```

Input schema:

```json
{"type":"object","additionalProperties":false,"properties":{}}
```

Output schema:

```json
{"type":"object","additionalProperties":false,"required":["chainId","blockNumber","blockHash","observedAt","methodVersion","baseFeeGwei","tipGwei","gasUsedRatio","l1","ethUsd","costs","assumptions","warnings"],"properties":{"chainId":{"type":"integer","enum":[8453]},"blockNumber":{"type":"integer","minimum":0},"blockHash":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"observedAt":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"},"methodVersion":{"type":"string"},"baseFeeGwei":{"type":"number","minimum":0},"tipGwei":{"type":"object","additionalProperties":false,"required":["p25","p50","p90"],"properties":{"p25":{"type":"number","minimum":0},"p50":{"type":"number","minimum":0},"p90":{"type":"number","minimum":0}}},"gasUsedRatio":{"type":"number","minimum":0},"l1":{"type":"object","additionalProperties":false,"required":["baseFeeGwei","blobBaseFeeGwei","baseFeeScalar","blobBaseFeeScalar"],"properties":{"baseFeeGwei":{"type":"number","minimum":0},"blobBaseFeeGwei":{"type":"number","minimum":0},"baseFeeScalar":{"type":"integer"},"blobBaseFeeScalar":{"type":"integer"}}},"ethUsd":{"type":["number","null"]},"costs":{"type":"object","additionalProperties":false,"required":["erc20_transfer","swap"],"properties":{"erc20_transfer":{"type":"object","additionalProperties":false,"required":["gasUsed","compressedBytes","l2FeeGwei","l1DataFeeGwei","totalGwei","totalUsd"],"properties":{"gasUsed":{"type":"integer"},"compressedBytes":{"type":"integer"},"l2FeeGwei":{"type":"number","minimum":0},"l1DataFeeGwei":{"type":"number","minimum":0},"totalGwei":{"type":"number","minimum":0},"totalUsd":{"type":["number","null"]}}},"swap":{"type":"object","additionalProperties":false,"required":["gasUsed","compressedBytes","l2FeeGwei","l1DataFeeGwei","totalGwei","totalUsd"],"properties":{"gasUsed":{"type":"integer"},"compressedBytes":{"type":"integer"},"l2FeeGwei":{"type":"number","minimum":0},"l1DataFeeGwei":{"type":"number","minimum":0},"totalGwei":{"type":"number","minimum":0},"totalUsd":{"type":["number","null"]}}}}},"assumptions":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}}}}
```

Illustrative example output (not a live observation):

```json
{"chainId":8453,"blockNumber":23000000,"blockHash":"0xabababababababababababababababababababababababababababababababab","observedAt":"2026-11-28T06:00:00Z","methodVersion":"base-gas-priority/1","baseFeeGwei":0.005,"tipGwei":{"p25":0.0001,"p50":0.001,"p90":0.01},"gasUsedRatio":0.31,"l1":{"baseFeeGwei":4.2,"blobBaseFeeGwei":0.001,"baseFeeScalar":1368,"blobBaseFeeScalar":810949},"ethUsd":3000,"costs":{"erc20_transfer":{"gasUsed":65000,"compressedBytes":110,"l2FeeGwei":390,"l1DataFeeGwei":1700,"totalGwei":2090,"totalUsd":0.00627},"swap":{"gasUsed":180000,"compressedBytes":250,"l2FeeGwei":1080,"l1DataFeeGwei":3900,"totalGwei":4980,"totalUsd":0.01494}},"assumptions":["next-block estimate at the p50 tip","erc20_transfer: 65000 gas, 110 compressed bytes","swap: 180000 gas, 250 compressed bytes"],"warnings":[]}
```

## x402 onboarding

If you have not used x402 before:

1. Connect an x402 V2-capable client to a wallet authorized by your operator. See https://www.x402.org/ and https://docs.cdp.coinbase.com/x402/welcome.
2. Fund the wallet with native USDC on a network offered in the current PAYMENT-REQUIRED header, and configure spending limits. A Base wallet is a supported starting point. Keep wallet signing credentials in your wallet.
3. Make the documented request without payment to obtain HTTP 402. Decode PAYMENT-REQUIRED and check the resource, network, asset, recipient, exact amount, expiry and operator-approved budget.
4. Use the payment client to construct and sign the authorization; repeat the same request with PAYMENT-SIGNATURE. A successful answer is HTTP 200 with PAYMENT-RESPONSE. Save the receipt. Do not make a new payment when a prior outcome is uncertain.
5. Alternatively connect the Streamable HTTP MCP server at https://igneos.systems/mcp. On a payment-required tool result, use an x402-aware MCP client to pay the structured terms and retry with params._meta["x402/payment"]. Save result._meta["x402/payment-response"].

### AWS Bedrock AgentCore

For agents using Amazon Bedrock AgentCore Payments, configure an approved Coinbase wallet/payment instrument and spending limits; discover the API through Coinbase Bazaar or use the documented HTTP endpoint. Follow https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-getting-started.html. Direct AWS Billing for AWS Marketplace sellers is a separate payment integration; this API offers native USDC through x402, not an AWS Billing offer.

### Solana and Polygon

Use the matching native USDC token and a wallet/client that supports the exact network in the live quote. Check the live terms before paying; the data network of a tool is independent of its payment network.

Reference: https://igneos.systems/openapi.json
