Skip to content
Free static example · no wallet required

Base transaction gas estimate

Inspect the exact response envelope first. When you need current analysis for your own input, one successful x402 call costs $0.004 USDC on Base or Solana.

No accountNo subscriptionExact USDC priceFresh calls only are paid
Full response envelope

What you receive

Demonstration data only. The paid endpoint returns a fresh result and settlement receipt.

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.base-gas-estimate",
  "version": "1",
  "data": {
    "network": "eip155:8453",
    "status": "estimated",
    "estimationAccepted": true,
    "transaction": {
      "from": "0x1111111111111111111111111111111111111111",
      "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "valueWei": "0",
      "dataBytes": 36,
      "dataSha256": "2da90680426443e99a57371fef89ebdb0cba7f941eda4e27491a3bd2069ef775",
      "selector": "0x70a08231"
    },
    "block": {
      "requestedTag": "safe",
      "number": 34567890,
      "hash": "0x1111111111111111111111111111111111111111111111111111111111111111",
      "timestamp": "2026-08-10T16:00:00+00:00",
      "gasLimit": 120000000,
      "baseFeePerGasWei": "500000"
    },
    "estimate": {
      "gas": 24640,
      "gasHex": "0x6040",
      "bufferPercent": 20,
      "suggestedGasLimit": 29568,
      "suggestedGasLimitHex": "0x7380",
      "bufferCapped": false,
      "baseFeeComponentWei": "12320000000",
      "suggestedBaseFeeComponentWei": "14784000000"
    },
    "rpcError": null,
    "networkRequestsMade": 2,
    "rpcCallsMade": 2,
    "readOnly": true,
    "transactionBroadcast": false,
    "warnings": [],
    "limitations": [
      "The estimate is state-dependent and does not guarantee later execution.",
      "Base-fee components exclude priority fees, L1 data fees, and other fee components.",
      "Only one existing destination is estimated; contract deployment is not supported."
    ],
    "source": "https://docs.base.org/base-chain/api-reference/ethereum-json-rpc-api/eth_estimateGas",
    "disclaimer": "Read-only Base mainnet gas estimation only. No transaction is created, signed, submitted, or broadcast."
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": []
  }
}
Example request

Input JSON

{
  "from_address": "0x1111111111111111111111111111111111111111",
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "value_wei": "0",
  "call_data": "0x70a082310000000000000000000000001111111111111111111111111111111111111111",
  "block_tag": "safe",
  "buffer_percent": 20
}
Delivery contract

One paid POST

Estimate gas for one Base mainnet transaction context at a resolved block, add a bounded caller-selected buffer, and preserve RPC rejection evidence without signing or broadcasting.

POST /v1/crypto/base-gas-estimate

Inspect validation rules and output schema

Need current data?

Run this exact service.

The checkout verifies the request, selected network, USDC asset, recipient, and price before opening a wallet.

Continue · $0.004 USDC