Payments · x402 · early usage

Gas sponsorship for one ERC-4337 user operation on Base (EntryPoint v0.8)

Gas sponsorship for one ERC-4337 user operation on Base (EntryPoint v0.8). Price = max($0.03, 1.3× the op's gas cap); this is the floor — send your user operation to get the exact quote. Bodies this URL accepts: {sender, calls[, redelegate:true]} (plain walle…

by api.liquidagent.ai · discovered, not yet claimed by its owner · updated 2026-09-17

30d calls1
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Gas sponsorship for one ERC-4337 user operation on Base (EntryPoint v0.8). Price = max($0.03, 1.3× the op's gas cap); this is the floor — send your user operation to get the exact quote. Bodies this URL accepts: {sender, calls[, redelegate:true]} (plain wallet, EIP-7702) | {userOperation} unsigned (any EntryPoint v0.8 smart account, bring your own operation) | JSON-RPC ERC-7677. Then POST the signed operation back here; we submit it. GET this URL?docs=1 for details. Quote valid 600s.

Tags: gas · paymaster · erc-4337 · sponsorship · base · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-09-17
Input example from Bazaar metadata
{
  "method": "pm_getPaymasterData",
  "params": [
    {
      "callData": "0x",
      "callGasLimit": "0x30d40",
      "maxFeePerGas": "0x5f5e100",
      "maxPriorityFeePerGas": "0xf4240",
      "nonce": "0x0",
      "preVerificationGas": "0x13880",
      "sender": "0xYourSmartAccount",
      "verificationGasLimit": "0x186a0"
    },
    "0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108",
    "0x2105",
    {
      "x402": "<payment object>"
    }
  ]
}
Output example
{
  "paymaster": "0x9676897C3BF08977Cdbe78213F84e72A29b844eC",
  "paymasterData": "0x…",
  "paymasterPostOpGasLimit": "0x0",
  "paymasterVerificationGasLimit": "0xea60",
  "validUntil": 1790000000
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/34890.json for the price and payment options.
  3. Pay. Call GET https://api.liquidagent.ai/v1/gas. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.03 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.030x487b28A4FbbA8Cf46eb6E1d72e6959202Bb75e9060s
exactPolygon
eip155:137
USDC$0.030x487b28A4FbbA8Cf46eb6E1d72e6959202Bb75e9060s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x487b28A4FbbA8Cf46eb6E1d72e6959202Bb75e90",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "30000",
    "amountUsd": 0.03,
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x487b28A4FbbA8Cf46eb6E1d72e6959202Bb75e90",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "30000",
    "amountUsd": 0.03,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "paymaster": "0x9676897C3BF08977Cdbe78213F84e72A29b844eC",
      "paymasterData": "0x…",
      "paymasterPostOpGasLimit": "0x0",
      "paymasterVerificationGasLimit": "0xea60",
      "validUntil": 1790000000
    },
    "type": {
      "const": "json"
    }
  },
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": null,
  "type": null
}

Examples

curl
curl "https://api.liquidagent.ai/v1/gas"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.liquidagent.ai/v1/gas");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.liquidagent.ai/v1/gas")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.liquidagent.ai
Endpoint
https://api.liquidagent.ai/v1/gas
Machine-readable
/resources/34890.json