DeFi Relay RPC - Pay-per-request EVM RPC Access This service provides access to EVM RPC nodes using the x402 payment protocol. PRICING: Standard requests: 100 raw USDC per request Heavy requests: 1000 raw USDC per request AVAILABLE NETWORKS: - /rpc/light/base - /rpc/heavy/base - /rpc/light/mainnet - /rpc/heavy/mainnet ENDPOINTS: GET / - This help page GET /health - Health check GET /networks - List available networks (JSON) GET /agent.json - EIP-8004 agent metadata GET /.well-known/x402 - x402 discovery document POST /rpc/light/{network} - Light JSON-RPC endpoint (non-heavy methods only) POST /rpc/heavy/{network} - Heavy JSON-RPC endpoint (ALL methods supported) HEAVY METHODS (require /rpc/heavy/{network}): - eth_getLogs - eth_getFilterLogs - eth_newFilter - eth_newBlockFilter - eth_newPendingTransactionFilter - debug_traceTransaction - debug_traceCall - debug_traceBlockByNumber - debug_traceBlockByHash - trace_block - trace_transaction - trace_call - trace_rawTransaction - trace_replayTransaction - trace_replayBlockTransactions USAGE: 1. Choose your endpoint: - /rpc/light/{network} for standard methods (lower cost) - /rpc/heavy/{network} for heavy methods OR if you want a single endpoint for all methods 2. Send a POST request to your chosen endpoint 3. If no payment header is provided, you'll receive a 402 response with payment requirements in the "payment-required" header 4. Create a payment using the x402 protocol and include it in the "X-PAYMENT" header 5. The service will verify payment and forward your request to the RPC node EXAMPLE REQUESTS: # Light request (standard cost) POST /rpc/light/mainnet Content-Type: application/json X-PAYMENT: { "jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1 } # Heavy request (higher cost) POST /rpc/heavy/mainnet Content-Type: application/json X-PAYMENT: { "jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"fromBlock": "0x0", "toBlock": "latest"}], "id": 1 } For more info on x402: https://www.x402.org