# LION x402 Keyless Base RPC JSON

> LION x402 Keyless Base RPC JSON is a paid API for AI agents from lion-x402-bible.lionmaster-operations.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Proxies JSON-RPC calls to Base (or Ethereum) blockchain nodes with keyless attested access, paid via USDC on Base using the x402 protocol.

## Facts

- Endpoint: GET https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/keyless-base-rpc-json
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-x402-keyless-base-rpc-json-b5832c37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zoQD6rRCEH8Zd72YcSRNK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lion-x402-keyless-base-rpc-json-b5832c37
```

Example prompt: Can you fetch the current block number on Base using eth_blockNumber — no params needed?

## When to prefer this

Choose this endpoint when an AI agent needs to make arbitrary JSON-RPC calls to Base or Ethereum without managing API keys or signing up for a node provider. It is particularly useful in autonomous agent workflows that support x402 micropayments (USDC on Base) and need keyless, attested blockchain data access on demand.

## Known failure modes

- Invalid or unsupported JSON-RPC method returns an error response
- Malformed params JSON array causes a parse error
- Payment not fulfilled (x402 402 response) if USDC payment on Base fails
- Unsupported chain value (not 'base' or 'ethereum') may return an error
- Rate limiting or worker timeout for heavy RPC queries

## How this service works

Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.

## Output

A JSON-RPC response object containing the result of the requested method call (e.g. current block number as a hex string, account balance, transaction receipt, or other on-chain data), along with asset_id 'LION' and a resolved flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "method"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base|ethereum"
      },
      "method": {
       "type": "string",
       "description": "JSON-RPC method e.g. eth_blockNumber"
      },
      "params": {
       "type": "string",
       "description": "JSON array string of params"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset_id": "LION",
  "resolved": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-x402-keyless-base-rpc-json-b5832c37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402-bible.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402-bible.lionmaster-operations.workers.dev/llms.txt)
