AiSpace Venice · RPC Base Mainnet

by AiSpace Venice

POSTBaseSolana

$0.01

per call · USD Coin on Base

Pay-per-call JSON-RPC proxy to 20+ EVM and Starknet networks on Venice, paid per request in USDC on Base via x402, no API key. Resolve the {network} path segment from GET /api/v1/crypto/rpc/networks.

Endpoint

POST https://x402.aispace.bot/api/v1/crypto/rpc/base-mainnet

9

Calls / 30d

5

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.aispace.bot/api/v1/crypto/rpc/base-mainnet", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": []
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.aispace.bot/api/v1/crypto/rpc/base-mainnet" \
  -H "Content-Type: application/json" \
  -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x3058842"
}

Payment details

Pay to0xa7f3ad0e69f61864092fabba6cee00af6e584689
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from AiSpace Venice & similar services