Skip to content
onelayer.
All tools

Tool detail

LION Verified Company

Passes a JSON-RPC method through to Base or Ethereum and returns the raw result, no API key required.

Categories: Onchain data

Use when

  • read the latest block number on Base or Ethereum
  • call an arbitrary read-only JSON-RPC method
  • check an on-chain value without running your own RPC node

Not for

  • not for write or signing RPC methods
  • not for chains other than Base and Ethereum

Inputs

GET query params: method: string (required, e.g. eth_blockNumber); chain: 'base'|'ethereum' and params: JSON-array-string (optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "base|ethereum"
    },
    "method": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "JSON-RPC method e.g. eth_blockNumber"
    },
    "params": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "JSON array string of params"
    }
  },
  "required": [
    "method"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://lion-x402.lionmaster-operations.workers.dev/api/x402/keyless-base-rpc-json

Payment

Protocol
x402
Listed price
0.001 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://lion-x402.lionmaster-operations.workers.dev/api/x402/keyless-base-rpc-json
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z