{"openapi":"3.1.0","info":{"title":"SolidRPC pay-per-request RPC","version":"x402-rpc-2026-11-07-v2"},"servers":[{"url":"https://rpc.solidrpc.io"}],"paths":{"/x402/capabilities":{"get":{"operationId":"getX402Capabilities","responses":{"200":{"description":"Payment and RPC networks, methods, prices and limits"}}}},"/x402/terms":{"get":{"operationId":"getX402Terms","responses":{"200":{"description":"Versioned purchase and retrieval terms"}}}},"/x402/evm/{chainId}":{"post":{"operationId":"purchaseRpc","parameters":[{"name":"chainId","in":"path","required":true,"schema":{"type":"integer","enum":[1,8453,42161]}},{"name":"X-SolidRPC-Quote","in":"header","required":false,"schema":{"type":"string","maxLength":4096},"description":"Private opaque quote capability returned in the 402 extension."},{"name":"PAYMENT-SIGNATURE","in":"header","required":false,"schema":{"type":"string","maxLength":8192},"description":"Base64 x402 v2 exact payment payload signed with the supplied quote nonce."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"oneOf":[{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_chainId"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_blockNumber"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"net_version"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"net_version","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_gasPrice"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_maxPriorityFeePerGas"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBalance"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0x1111111111111111111111111111111111111111","latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getCode"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0x1111111111111111111111111111111111111111","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionCount"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionCount","params":["0x1111111111111111111111111111111111111111","safe"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getStorageAt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["0x1111111111111111111111111111111111111111","0x0","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x1111111111111111111111111111111111111111","data":"0x","gas":"0xf4240"},"latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByNumber"},"params":{"type":"array","prefixItems":[{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}]},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionReceipt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getLogs"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"address":{"oneOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}]},"topics":{"type":"array","maxItems":4,"items":{"oneOf":[{"type":"null"},{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}]}}},"oneOf":[{"required":["blockHash"],"not":{"anyOf":[{"required":["fromBlock"]},{"required":["toBlock"]}]}},{"required":["fromBlock","toBlock"],"not":{"required":["blockHash"]}}],"description":"Inclusive numeric range at most 2000 blocks, or one blockHash. No open-ended range."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByNumber"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceCall"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_transaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_block"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayBlockTransactions"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_filter"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["fromBlock","toBlock","count"],"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"fromAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"toAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"count":{"type":"integer","minimum":1,"maximum":1000},"after":{"type":"integer","minimum":0,"maximum":100000}},"description":"Ethereum only. Inclusive numeric range at most 2000 blocks."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_sendRawTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})+$","maxLength":131074,"description":"Locally signed, chain-bound legacy, EIP-2930 or EIP-1559 transaction. Private keys are never accepted."}],"items":false,"minItems":1,"maxItems":1}}}]},{"type":"array","minItems":1,"maxItems":50,"items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_chainId"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_blockNumber"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"net_version"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"net_version","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_gasPrice"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_maxPriorityFeePerGas"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBalance"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0x1111111111111111111111111111111111111111","latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getCode"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0x1111111111111111111111111111111111111111","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionCount"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionCount","params":["0x1111111111111111111111111111111111111111","safe"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getStorageAt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["0x1111111111111111111111111111111111111111","0x0","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x1111111111111111111111111111111111111111","data":"0x","gas":"0xf4240"},"latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByNumber"},"params":{"type":"array","prefixItems":[{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}]},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionReceipt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getLogs"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"address":{"oneOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}]},"topics":{"type":"array","maxItems":4,"items":{"oneOf":[{"type":"null"},{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}]}}},"oneOf":[{"required":["blockHash"],"not":{"anyOf":[{"required":["fromBlock"]},{"required":["toBlock"]}]}},{"required":["fromBlock","toBlock"],"not":{"required":["blockHash"]}}],"description":"Inclusive numeric range at most 2000 blocks, or one blockHash. No open-ended range."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByNumber"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceCall"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_transaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_block"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayBlockTransactions"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_filter"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["fromBlock","toBlock","count"],"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"fromAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"toAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"count":{"type":"integer","minimum":1,"maximum":1000},"after":{"type":"integer","minimum":0,"maximum":100000}},"description":"Ethereum only. Inclusive numeric range at most 2000 blocks."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_sendRawTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})+$","maxLength":131074,"description":"Locally signed, chain-bound legacy, EIP-2930 or EIP-1559 transaction. Private keys are never accepted."}],"items":false,"minItems":1,"maxItems":1}}}]},"description":"Unique IDs required. Full quoted total is charged including failed calls. No atomicity or common snapshot."}]}}}},"responses":{"200":{"description":"Original purchased JSON-RPC result with PAYMENT-RESPONSE settlement header","headers":{"PAYMENT-RESPONSE":{"schema":{"type":"string"},"description":"Base64 encoded settlement object containing success, transaction, network and payer."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcResult"}}}},"202":{"description":"Payment pending. Poll receipt, do not pay again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pending"}}}},"400":{"description":"Invalid or unsupported request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Exact payment quote and request-binding extension.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"409":{"description":"Payment conflicts with request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Expired quote or response. Check settled field.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Execution failed without settlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Admission limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unavailable or uncertain. Retain existing payment state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/x402/receipts/{quoteId}":{"get":{"operationId":"getX402Receipt","parameters":[{"name":"quoteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-SolidRPC-Quote","in":"header","required":true,"schema":{"type":"string","maxLength":4096},"description":"Private opaque quote capability returned in the 402 extension."}],"responses":{"200":{"description":"Original purchased JSON-RPC result with PAYMENT-RESPONSE settlement header","headers":{"PAYMENT-RESPONSE":{"schema":{"type":"string"},"description":"Base64 encoded settlement object containing success, transaction, network and payer."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcResult"}}}},"202":{"description":"Payment pending. Poll receipt, do not pay again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pending"}}}},"400":{"description":"Invalid or unsupported request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Exact payment quote and request-binding extension.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"404":{"description":"receipt_not_found. Submit the original proof only if still valid."},"409":{"description":"Payment conflicts with request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Expired quote or response. Check settled field.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Execution failed without settlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Admission limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unavailable or uncertain. Retain existing payment state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"status":{"type":"string"},"settled":{"type":"boolean","description":"False is an authoritative unpaid terminal outcome. Omitted means payment state may be uncertain."},"receiptId":{"type":"string","format":"uuid"},"transactionHash":{"type":"string"},"refundDue":{"type":"boolean"}}},"RpcResult":{"oneOf":[{"$ref":"#/components/schemas/RpcItemResult"},{"type":"array","minItems":1,"maxItems":50,"items":{"$ref":"#/components/schemas/RpcItemResult"}}]},"RpcItemResult":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string"},{"type":"integer"}]},"result":{"description":"Method result, including valid null and zero values."},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}},"oneOf":[{"required":["result"],"not":{"required":["error"]}},{"required":["error"],"not":{"required":["result"]}}]},"RpcRequest":{"oneOf":[{"oneOf":[{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_chainId"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_blockNumber"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"net_version"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"net_version","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_gasPrice"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_maxPriorityFeePerGas"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBalance"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0x1111111111111111111111111111111111111111","latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getCode"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0x1111111111111111111111111111111111111111","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionCount"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionCount","params":["0x1111111111111111111111111111111111111111","safe"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getStorageAt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["0x1111111111111111111111111111111111111111","0x0","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x1111111111111111111111111111111111111111","data":"0x","gas":"0xf4240"},"latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByNumber"},"params":{"type":"array","prefixItems":[{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}]},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionReceipt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getLogs"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"address":{"oneOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}]},"topics":{"type":"array","maxItems":4,"items":{"oneOf":[{"type":"null"},{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}]}}},"oneOf":[{"required":["blockHash"],"not":{"anyOf":[{"required":["fromBlock"]},{"required":["toBlock"]}]}},{"required":["fromBlock","toBlock"],"not":{"required":["blockHash"]}}],"description":"Inclusive numeric range at most 2000 blocks, or one blockHash. No open-ended range."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByNumber"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceCall"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_transaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_block"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayBlockTransactions"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_filter"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["fromBlock","toBlock","count"],"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"fromAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"toAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"count":{"type":"integer","minimum":1,"maximum":1000},"after":{"type":"integer","minimum":0,"maximum":100000}},"description":"Ethereum only. Inclusive numeric range at most 2000 blocks."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_sendRawTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})+$","maxLength":131074,"description":"Locally signed, chain-bound legacy, EIP-2930 or EIP-1559 transaction. Private keys are never accepted."}],"items":false,"minItems":1,"maxItems":1}}}]},{"type":"array","minItems":1,"maxItems":50,"items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_chainId"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_blockNumber"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"net_version"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"net_version","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_gasPrice"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_maxPriorityFeePerGas"},"params":{"type":"array","prefixItems":[],"items":false,"minItems":0,"maxItems":0}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBalance"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0x1111111111111111111111111111111111111111","latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getCode"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0x1111111111111111111111111111111111111111","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionCount"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionCount","params":["0x1111111111111111111111111111111111111111","safe"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getStorageAt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["0x1111111111111111111111111111111111111111","0x0","0x100"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x1111111111111111111111111111111111111111","data":"0x","gas":"0xf4240"},"latest"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByNumber"},"params":{"type":"array","prefixItems":[{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}]},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"const":false}],"items":false,"minItems":2,"maxItems":2}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222",false]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getTransactionReceipt"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}},"examples":[{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x2222222222222222222222222222222222222222222222222222222222222222"]}]},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_getLogs"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"address":{"oneOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}]},"topics":{"type":"array","maxItems":4,"items":{"oneOf":[{"type":"null"},{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}]}}},"oneOf":[{"required":["blockHash"],"not":{"anyOf":[{"required":["fromBlock"]},{"required":["toBlock"]}]}},{"required":["fromBlock","toBlock"],"not":{"required":["blockHash"]}}],"description":"Inclusive numeric range at most 2000 blocks, or one blockHash. No open-ended range."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByNumber"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceBlockByHash"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"debug_traceCall"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]},{"type":"object","additionalProperties":false,"required":["tracer"],"properties":{"tracer":{"const":"callTracer"},"timeout":{"type":"string","pattern":"^(?:[1-9]|10)s$"},"tracerConfig":{"type":"object","additionalProperties":false,"properties":{"onlyTopCall":{"type":"boolean"},"withLog":{"type":"boolean"}}}}}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_transaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_block"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_call"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["to","gas"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){0,4096}$","maxLength":8194},"value":{"const":"0x0"},"gas":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$","description":"Hex gas limit at most 1000000 (0xf4240). Larger values are rejected."}}},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}},{"oneOf":[{"type":"string","enum":["latest","safe","finalized","earliest"]},{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"object","additionalProperties":false,"required":["blockHash"],"properties":{"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"requireCanonical":{"type":"boolean"}}}]}],"items":false,"minItems":3,"maxItems":3}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_replayBlockTransactions"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},{"type":"array","minItems":1,"maxItems":1,"items":{"const":"trace"}}],"items":false,"minItems":2,"maxItems":2}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"trace_filter"},"params":{"type":"array","prefixItems":[{"type":"object","additionalProperties":false,"required":["fromBlock","toBlock","count"],"properties":{"fromBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"toBlock":{"type":"string","pattern":"^0x(?:0|[1-9a-fA-F][0-9a-fA-F]{0,15})$"},"fromAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"toAddress":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"count":{"type":"integer","minimum":1,"maximum":1000},"after":{"type":"integer","minimum":0,"maximum":100000}},"description":"Ethereum only. Inclusive numeric range at most 2000 blocks."}],"items":false,"minItems":1,"maxItems":1}}},{"type":"object","additionalProperties":false,"required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"oneOf":[{"type":"string","maxLength":64},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"method":{"const":"eth_sendRawTransaction"},"params":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})+$","maxLength":131074,"description":"Locally signed, chain-bound legacy, EIP-2930 or EIP-1559 transaction. Private keys are never accepted."}],"items":false,"minItems":1,"maxItems":1}}}]},"description":"Unique IDs required. Full quoted total is charged including failed calls. No atomicity or common snapshot."}]},"PaymentRequired":{"type":"object","required":["x402Version","resource","accepts","extensions"],"properties":{"x402Version":{"const":2},"resource":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"const":"application/json"}}},"accepts":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"object","required":["scheme","network","asset","amount","payTo","maxTimeoutSeconds","extra"],"properties":{"scheme":{"const":"exact"},"network":{"const":"eip155:8453"},"asset":{"const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"amount":{"type":"string","pattern":"^[0-9]+$","description":"Exact USDC atomic-unit total. Sum of 2000 per standard call and 2500 per historical, log or trace call, at most 125000."},"payTo":{"const":"0xc36d63df66db931de2143d1e547cc1f1dfcbc88f"},"maxTimeoutSeconds":{"const":180},"extra":{"type":"object","properties":{"name":{"const":"USD Coin"},"version":{"const":"2"}}}}}},"extensions":{"type":"object","properties":{"solidrpc-request-binding":{"type":"object","required":["info"],"properties":{"info":{"type":"object","required":["version","quote","quoteId","nonce","requestHash","expiresAt","receiptUrl","termsRevision","priceVersion","algorithm"],"properties":{"version":{"const":1},"quote":{"type":"string"},"quoteId":{"type":"string","format":"uuid"},"nonce":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"requestHash":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"expiresAt":{"type":"string","format":"date-time"},"receiptUrl":{"type":"string","format":"uri"},"termsRevision":{"const":"x402-rpc-2026-11-07-v2"},"priceVersion":{"const":"x402-rpc-2026-11-07-v2"},"algorithm":{"const":"eip3009-nonce-v1"}}}}}}}}},"Pending":{"type":"object","required":["status","receiptId","receiptUrl","retryAfterSeconds"],"properties":{"status":{"type":"string"},"receiptId":{"type":"string","format":"uuid"},"receiptUrl":{"type":"string","format":"uri"},"retryAfterSeconds":{"type":"integer","const":3}}}}}}