# ScriptMasterLabs Base RPC via x402

> ScriptMasterLabs Base RPC via x402 is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Provides pay-per-call access to Base blockchain RPC methods (e.g. eth_blockNumber, eth_getBalance) settled in USDC via the x402 payment protocol

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/base-rpc
- 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/scriptmasterlabs-base-rpc-via-x402-16a6da23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dlpU5gPXDR0QVoLZK6YPl

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 scriptmasterlabs-base-rpc-via-x402-16a6da23
```

Example prompt: What is the current block number on Base? Use the eth_blockNumber RPC method to check.

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call access to Base blockchain RPC data (block numbers, balances, transactions) without managing your own node or subscription. Ideal for agents that make infrequent on-chain lookups and want micro-payment settlement in USDC via x402. Prefer over full node providers when cost predictability per call matters more than throughput.

## Known failure modes

- Invalid or unsupported RPC method name returns an error response
- Malformed address or hash returns a null or error result
- Payment not settled — 402 response requiring USDC payment on Base via x402 before proceeding
- Block identifier not found (e.g. future block) returns null
- Rate limiting or node unavailability returns a 5xx error

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a raw JSON-RPC response from the Base blockchain node, including the result field (e.g. block number as hex, balance in wei, or transaction object) corresponding to the requested method.

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string",
       "example": "0x"
      },
      "block": {
       "type": "string",
       "default": "latest",
       "example": "latest"
      },
      "method": {
       "type": "string",
       "default": "eth_blockNumber",
       "example": "eth_blockNumber"
      },
      "address": {
       "type": "string",
       "example": "0x72330994f379a71542e7bd5a4cf99a9d9743f4aa"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-base-rpc-via-x402-16a6da23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
