Select the blockchain you want to access.
Select from available Ethereum providers.
Fund your contract and get instant access.
import { wrapFetch } from "@anthropic-ai/x402-fetch"; // Wrap fetch with x402 payment support const paidFetch = wrapFetch(fetch, { walletPrivateKey: process.env.WALLET_KEY, network: "base", }); // Make a paid RPC request โ payment happens automatically const response = await paidFetch( "PROVIDER_X402_URL", { method: "POST", body: JSON.stringify({ jsonrpc: "2.0", method: "eth_blockNumber", params: [], id: 1 }) } ); const data = await response.json(); console.log(data);
Click below to make a test request. You'll see the 402 Payment Required response with payment details.
Your contract is open and ready to use.
Your contract is active and your signing key handles authentication automatically. No popups, no approvals โ just data.
Make a live authenticated query through your contract. This proves everything works โ your contract, signing key, and the provider's sentinel.
Copy the SDK code below to make authenticated queries from your own application or AI agent.
mkdir my-arkeo-app && cd my-arkeo-app
npm init -y && npm install @noble/[email protected] @noble/[email protected]
app.mjsimport { ArkeoClient } from './arkeo-client.js'; const client = new ArkeoClient({ sentinelUrl: 'ENDPOINT_URL', contractId: CONTRACT_ID, privateKey: 'YOUR_SIGNING_KEY_HEX', service: 'SERVICE_NAME' }); // Make authenticated RPC calls const status = await client.rpcJson('/status'); console.log(status);
node app.mjs
pip install ecdsa requests
app.pyfrom arkeo_client import ArkeoClient client = ArkeoClient( sentinel_url='ENDPOINT_URL', contract_id=CONTRACT_ID, private_key='YOUR_SIGNING_KEY_HEX', service='SERVICE_NAME' ) # Make authenticated RPC calls status = client.rpc_json('/status') print(status)
python app.py