openapi: 3.0.3 info: title: Chainstack Optimism Node API version: 1.0.0 description: Chainstack-managed RPC node API for the Optimism blockchain. Endpoints follow the canonical JSON-RPC over HTTPS interface for the network. Authenticate against your Chainstack node's per-node URL (e.g. https://nd-XXX-XXX-XXX.p2pify.com/). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/optimism_node_api. contact: name: Chainstack API Support email: support@chainstack.com license: name: Chainstack Terms url: https://chainstack.com/terms-of-service/ servers: - url: https://{node_id}.p2pify.com/{api_key} description: Chainstack-managed node endpoint variables: node_id: default: nd-000-000-000 description: Your Chainstack node identifier api_key: default: description: Per-node access key tags: - name: General paths: /debug_getModifiedAccountsByHash: post: tags: - General summary: debug_getModifiedAccountsByHash operationId: getModifiedAccountsByHash requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_getModifiedAccountsByHash id: type: integer default: 1 params: type: array items: type: string default: - '0x8625622df3d1304e86f9e0a7f78adba128940b8829d95bf7866667b261934f6d' responses: '200': description: A list of accounts modified in the specified block content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: string description: The addresses of the modified accounts. /debug_getModifiedAccountsByNumber: post: tags: - General summary: debug_getModifiedAccountsByNumber operationId: getModifiedAccountsByNumber requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_getModifiedAccountsByNumber id: type: string default: '1' params: type: array default: - '0x6eee4bc' - '0x6eee4bd' items: type: string responses: '200': description: A list of accounts modified between the two block numbers content: application/json: schema: type: object properties: jsonrpc: type: string id: type: string result: type: array items: type: string description: The addresses of the modified accounts. /debug_storageRangeAt: post: tags: - General summary: debug_storageRangeAt operationId: getStorageRangeAt requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_storageRangeAt id: type: integer default: 1 params: type: array items: oneOf: - type: string - type: integer default: - '0x00e80e42fdb4bc373a520c376091421452d26c57e67615f27a7d0fc8e47f1853' - 5 - '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' - '0x00000000000000000000000000000000' - 2 responses: '200': description: Storage data for the specified range content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: storage: type: object additionalProperties: true complete: type: boolean description: The storage entries and a flag indicating if the storage is complete. /debug_traceBlockByHash: post: tags: - General summary: debug_traceBlockByHash operationId: traceBlockByHash requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_traceBlockByHash id: type: integer default: 1 params: type: array items: type: string default: - '0xf743b97fb82f007654f7832e88659c6d0bca832ad8bdb9902370fd301d81ddb3' responses: '200': description: Detailed execution traces for all transactions in the specified block content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object description: An array of execution traces for each transaction in the block. /debug_traceBlockByNumber: post: tags: - General summary: debug_traceBlockByNumber operationId: traceBlockByNumber requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_traceBlockByNumber id: type: integer default: 1 params: type: array items: type: string default: - '0x6eee7bc' responses: '200': description: Detailed execution traces for all transactions in the specified block content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object description: An array of execution traces for each transaction in the block. /debug_traceCall: post: tags: - General summary: Execute a call and retrieve a detailed execution trace operationId: traceCall requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_traceCall id: type: integer default: 1 params: type: array description: Parameters for the call default: - to: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' gasPrice: '0x7896e72a' data: '0x70a08231000000000000000000000000f977814e90da44bfa03b6295a0616a897441acec' - latest responses: '200': description: Detailed execution trace of the call content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: structLogs: type: array items: type: object description: An array of execution steps (opcodes) taken by the call. gas: type: integer description: The gas provided by the call. returnValue: type: string description: The return value of the call, if any. gasUsed: type: integer description: The total gas used by the call. failed: type: boolean description: Indicates whether the call failed. /debug_traceCallMany: post: tags: - General summary: Execute multiple calls and retrieve detailed execution traces operationId: traceCallMany requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_traceCallMany id: type: integer default: 1 params: type: array description: Parameters for the call default: - - transactions: - from: '0xacD03D601e5bB1B275Bb94076fF46ED9D753435A' to: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' gas: '0xf4240' gasPrice: '0x7896e72a' data: '0xa9059cbb000000000000000000000000bc0E63965946815d105E7591407704e6e1964E590000000000000000000000000000000000000000000000000000000005f5e100' - to: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' gasPrice: '0x7896e72a' data: '0x70a08231000000000000000000000000bc0E63965946815d105E7591407704e6e1964E59' blockOverride: blockNumber: '0x6eee101' - blockNumber: '0x6eee101' transactionIndex: 1 - {} responses: '200': description: Detailed execution traces of the calls content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object properties: structLogs: type: array items: type: object properties: pc: type: integer op: type: string gas: type: integer gasCost: type: integer depth: type: integer stack: type: array memory: type: array gas: type: integer returnValue: type: string gasUsed: type: integer failed: type: boolean /debug_traceTransaction: post: tags: - General summary: debug_traceTransaction operationId: traceTransaction requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: debug_traceTransaction id: type: integer default: 1 params: type: array items: type: string default: - '0x2f6ff16a96580e1d51b91314c1bdf9339f2f7ce0e7a22228bbc65f419dd7be51' responses: '200': description: Detailed execution trace of the specified transaction content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: structLogs: type: array items: type: object description: An array of execution steps (opcodes) taken by the transaction. gas: type: integer description: The gas provided by the transaction. returnValue: type: string description: The return value of the transaction, if any. gasUsed: type: integer description: The total gas used by the transaction. failed: type: boolean description: Indicates whether the transaction failed. description: The detailed execution trace of the transaction. /eth_blockNumber: post: tags: - General summary: eth_blockNumber operationId: blockNumber requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_blockNumber id: type: integer default: 1 responses: '200': description: The block number information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_call: post: tags: - General summary: Eth_Call operationId: call requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_call id: type: integer default: 1 params: type: array items: anyOf: - type: object properties: to: type: string default: '0xC7846d1bc4d8bcF7c45a7c998b77cE9B3c904365' data: type: string default: '0x1526fe270000000000000000000000000000000000000000000000000000000000000001' - type: string default: latest default: - to: '0xC7846d1bc4d8bcF7c45a7c998b77cE9B3c904365' data: '0x1526fe270000000000000000000000000000000000000000000000000000000000000001' - latest responses: '200': description: The result of the call content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_callMany: post: tags: - General summary: eth_callMany operationId: callMany requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_callMany id: type: integer default: 1 params: type: array default: - - transactions: - from: '0xacD03D601e5bB1B275Bb94076fF46ED9D753435A' to: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' gas: '0xf4240' gasPrice: '0x7896e72a' data: '0xa9059cbb000000000000000000000000bc0E63965946815d105E7591407704e6e1964E590000000000000000000000000000000000000000000000000000000005f5e100' - to: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' gasPrice: '0x7896e72a' data: '0x70a08231000000000000000000000000bc0E63965946815d105E7591407704e6e1964E59' blockOverride: blockNumber: '0x6eee101' - blockNumber: '0x6eee101' transactionIndex: 1 - {} items: type: object responses: '200': description: The result of the multiple calls content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object description: The results of the executed calls. /eth_chainId: post: tags: - General summary: eth_chainId operationId: chainId requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_chainId id: type: integer default: 1 responses: '200': description: The current chain ID content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_createAccessList: post: tags: - General summary: eth_createAccessList operationId: createAccessList requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_createAccessList id: type: integer default: 1 params: type: array items: anyOf: - type: object properties: from: type: string default: '0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63' data: type: string default: '0x608060806080608155' - type: string default: pending default: - from: '0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63' data: '0x608060806080608155' - pending responses: '200': description: The generated access list and gas used content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: accessList: type: array items: type: object properties: address: type: string storageKeys: type: array items: type: string gasUsed: type: string /eth_estimateGas: post: tags: - General summary: eth_estimateGas operationId: estimateGas requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_estimateGas id: type: integer default: 1 params: type: array items: anyOf: - type: object properties: from: type: string default: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' to: type: string default: '0xbe0eb53f46cd790cd13851d5eff43d12404d33e8' - type: string default: latest default: - from: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' to: '0xbe0eb53f46cd790cd13851d5eff43d12404d33e8' - latest responses: '200': description: The estimated gas required content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_feeHistory: post: tags: - General summary: eth_feeHistory operationId: feeHistory requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_feeHistory id: type: integer default: 1 params: type: array items: anyOf: - type: integer - type: string - type: array items: type: integer - type: array items: type: string default: - 1024 - latest - - 10 - 20 - 30 responses: '200': description: Historical gas fee data content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: oldestBlock: type: string baseFeePerGas: type: array items: type: string gasUsedRatio: type: array items: type: number reward: type: array items: type: array items: type: string /eth_gasPrice: post: tags: - General summary: eth_gasPrice operationId: gasPrice requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_gasPrice id: type: integer default: 1 responses: '200': description: The current gas price content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getBalance: post: tags: - General summary: eth_getBalance operationId: getBalance requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBalance id: type: integer default: 1 params: type: array default: - '0xF977814e90dA44bFA03b6295A0616a897441aceC' - latest items: type: string responses: '200': description: The balance of the account content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getBlockByHash: post: tags: - General summary: eth_getBlockByHash operationId: getBlockByHash requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockByHash id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' - type: boolean default: true default: - '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' - true responses: '200': description: The block information by hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getBlockByNumber: post: tags: - General summary: eth_getBlockByNumber operationId: getBlockByNumber requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockByNumber id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x6ecf0b4' - type: boolean default: true default: - '0x6ecf0b4' - true responses: '200': description: The block information by number content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getBlockReceipts: post: tags: - General summary: eth_getBlockReceipts operationId: getBlockReceipts requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockReceipts id: type: integer default: 1 params: type: array items: anyOf: - type: string default: latest default: - latest responses: '200': description: The transaction receipts of the block content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object properties: transactionHash: type: string transactionIndex: type: integer blockHash: type: string blockNumber: type: integer from: type: string to: type: string cumulativeGasUsed: type: integer gasUsed: type: integer contractAddress: type: string logs: type: array items: type: object properties: removed: type: boolean logIndex: type: integer transactionIndex: type: integer transactionHash: type: string blockHash: type: string blockNumber: type: integer address: type: string data: type: string topics: type: array items: type: string status: type: string /eth_getBlockTransactionCountByHash: post: tags: - General summary: eth_getBlockTransactionCountByHash operationId: getBlockTransactionCountByHash requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockTransactionCountByHash id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' default: - '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' responses: '200': description: The transaction count of the block by hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getBlockTransactionCountByNumber: post: tags: - General summary: eth_getBlockTransactionCountByNumber operationId: getBlockTransactionCountByNumber requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockTransactionCountByNumber id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x6ecf0b4' default: - '0x6ecf0b4' responses: '200': description: The transaction count of the block by number content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getCode: post: tags: - General summary: eth_getCode operationId: getCode requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getCode id: type: integer default: 1 params: type: array default: - '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6' - latest items: type: string responses: '200': description: The code from the specified address content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getFilterChanges: post: tags: - General summary: eth_getFilterChanges operationId: getFilterChanges requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getFilterChanges id: type: integer default: 1 params: type: array items: type: string default: - '0x4a2b3c' responses: '200': description: The changes of the filter since last accessed content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object properties: removed: type: boolean logIndex: type: string transactionIndex: type: string transactionHash: type: string blockHash: type: string blockNumber: type: string address: type: string data: type: string topics: type: array items: type: string /eth_getFilterLogs: post: tags: - General summary: eth_getFilterLogs operationId: getFilterLogs requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getFilterLogs id: type: integer default: 1 params: type: array items: type: string default: - '0x5a6b7c' responses: '200': description: All logs matching the filter content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object properties: removed: type: boolean logIndex: type: string transactionIndex: type: string transactionHash: type: string blockHash: type: string blockNumber: type: string address: type: string data: type: string topics: type: array items: type: string /eth_getLogs: post: tags: - General summary: eth_getLogs operationId: getLogs requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getLogs id: type: integer default: 1 params: type: array default: - fromBlock: latest address: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6' topics: - '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' items: type: object properties: fromBlock: type: string address: type: string topics: type: array items: type: string responses: '200': description: Logs matching the criteria content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object properties: removed: type: boolean logIndex: type: string transactionIndex: type: string transactionHash: type: string blockHash: type: string blockNumber: type: string address: type: string data: type: string topics: type: array items: type: string /eth_getProof: post: tags: - General summary: eth_getProof operationId: getProof requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getProof id: type: integer default: 1 params: type: array default: - '0x548Da0F6b0AFD0094F735503D44e79a3769980Fd' - - '0xf6e506a9cbe7546a796b187c40609a170ea8073e047129a3cae1c38e6d7559b7' - latest items: oneOf: - type: string - type: array items: type: string responses: '200': description: Account and storage values of the specified account including the Merkle-proof content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: accountProof: type: array items: type: string balance: type: string codeHash: type: string nonce: type: string storageHash: type: string storageProof: type: array items: type: object properties: key: type: string value: type: string proof: type: array items: type: string /eth_getRawTransactionByBlockHashAndIndex: post: tags: - General summary: eth_getRawTransactionByBlockHashAndIndex operationId: getRawTransactionByBlockHashAndIndex requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getRawTransactionByBlockHashAndIndex id: type: integer default: 1 params: type: array default: - '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' - '0x1' items: type: string responses: '200': description: Raw transaction data for the given block hash and index content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getRawTransactionByBlockNumberAndIndex: post: tags: - General summary: eth_getRawTransactionByBlockNumberAndIndex operationId: getRawTransactionByBlockNumberAndIndex requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getRawTransactionByBlockNumberAndIndex id: type: integer default: 1 params: type: array default: - '0x6ecf0b4' - '0x1' items: type: string responses: '200': description: Raw transaction data for the given block number and index content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getRawTransactionByHash: post: tags: - General summary: eth_getRawTransactionByHash operationId: getRawTransactionByHash requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getRawTransactionByHash id: type: integer default: 1 params: type: array default: - '0xd0a7bd7d80ba09a5a627b00fe6d05cde7d45939de9b16cb96d9029da1757b59b' items: type: string responses: '200': description: Raw transaction data for the given hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getStorageAt: post: tags: - General summary: eth_getStorageAt operationId: getStorageAt requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getStorageAt id: type: integer default: 1 params: type: array default: - '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85' - '0x7' - latest items: type: string responses: '200': description: The value from the specified storage position content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getTransactionByBlockHashAndIndex: post: tags: - General summary: eth_getTransactionByBlockHashAndIndex operationId: getTransactionByBlockHashAndIndex requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByBlockHashAndIndex id: type: integer default: 1 params: type: array default: - '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' - '0x1' items: type: string responses: '200': description: Transaction information for the given block hash and index content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: blockHash: type: string blockNumber: type: string from: type: string gas: type: string gasPrice: type: string hash: type: string input: type: string nonce: type: string to: type: string transactionIndex: type: string value: type: string v: type: string r: type: string s: type: string /eth_getTransactionByBlockNumberAndIndex: post: tags: - General summary: eth_getTransactionByBlockNumberAndIndex operationId: getTransactionByBlockNumberAndIndex requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByBlockNumberAndIndex id: type: integer default: 1 params: type: array default: - '0x6ecf0b4' - '0x1' items: type: string responses: '200': description: Transaction information for the given block number and index content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: blockHash: type: string blockNumber: type: string from: type: string gas: type: string gasPrice: type: string hash: type: string input: type: string nonce: type: string to: type: string transactionIndex: type: string value: type: string v: type: string r: type: string s: type: string /eth_getTransactionByHash: post: tags: - General summary: eth_getTransactionByHash operationId: getTransactionByHash requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByHash id: type: integer default: 1 params: type: array default: - '0xd0a7bd7d80ba09a5a627b00fe6d05cde7d45939de9b16cb96d9029da1757b59b' items: type: string responses: '200': description: Transaction information for the given hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: blockHash: type: string blockNumber: type: string from: type: string gas: type: string gasPrice: type: string hash: type: string input: type: string nonce: type: string to: type: string transactionIndex: type: string value: type: string v: type: string r: type: string s: type: string /eth_getTransactionCount: post: tags: - General summary: eth_getTransactionCount operationId: getTransactionCount requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionCount id: type: integer default: 1 params: type: array default: - '0xF977814e90dA44bFA03b6295A0616a897441aceC' - latest items: type: string responses: '200': description: The number of transactions sent from the address content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getTransactionReceipt: post: tags: - General summary: eth_getTransactionReceipt operationId: getTransactionReceipt requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionReceipt id: type: integer default: 1 params: type: array default: - '0xd0a7bd7d80ba09a5a627b00fe6d05cde7d45939de9b16cb96d9029da1757b59b' items: type: string responses: '200': description: Transaction receipt for the given transaction hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: transactionHash: type: string transactionIndex: type: string blockHash: type: string blockNumber: type: string from: type: string to: type: string cumulativeGasUsed: type: string gasUsed: type: string contractAddress: type: string logs: type: array items: type: object properties: removed: type: boolean logIndex: type: string transactionIndex: type: string transactionHash: type: string blockHash: type: string blockNumber: type: string address: type: string data: type: string topics: type: array items: type: string logsBloom: type: string status: type: string /eth_getUncleCountByBlockHash: post: tags: - General summary: eth_getUncleCountByBlockHash operationId: getUncleCountByBlockHash requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getUncleCountByBlockHash id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' default: - '0x7e4aea365093a183b0df5f003f26144ef04ec8a6e7f4910356590c5fc7b1671f' responses: '200': description: The uncle count of the block by hash content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getUncleCountByBlockNumber: post: tags: - General summary: eth_getUncleCountByBlockNumber operationId: getUncleCountByBlockNumber requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getUncleCountByBlockNumber id: type: integer default: 1 params: type: array items: anyOf: - type: string default: '0x6ecf0b4' default: - '0x6ecf0b4' responses: '200': description: The uncle count of the block by number content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_maxPriorityFeePerGas: post: tags: - General summary: eth_maxPriorityFeePerGas operationId: maxPriorityFeePerGas requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_maxPriorityFeePerGas id: type: integer default: 1 responses: '200': description: Current maximum priority fee per gas content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_newBlockFilter: post: tags: - General summary: eth_newBlockFilter operationId: newBlockFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_newBlockFilter id: type: integer default: 1 responses: '200': description: The ID of the created block filter content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_newFilter: post: tags: - General summary: eth_newFilter operationId: newFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_newFilter id: type: integer default: 1 params: type: array items: type: object properties: fromBlock: type: string default: latest address: type: string default: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6' topics: type: array items: type: string default: - '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' default: - fromBlock: latest address: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6' topics: - '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' responses: '200': description: The ID of the created filter content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_sendRawTransaction: post: tags: - General summary: eth_sendRawTransaction operationId: sendRawTransaction requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_sendRawTransaction id: type: integer default: 1 params: type: array default: - '0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675' items: type: string responses: '200': description: The transaction hash of the submitted transaction content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string description: The hash of the transaction that was sent. /eth_sendRawTransactionSync: post: tags: - General summary: eth_sendRawTransactionSync operationId: sendRawTransactionSync requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_sendRawTransactionSync id: type: integer default: 1 params: type: array default: - '0xf86c808504a817c80082520894ab5db0e98b8ea6b7f9d8ad8e8ed0bc8fba0d1a2f870de0b6b3a764000080821b9f' items: oneOf: - type: string - type: integer minItems: 1 maxItems: 2 examples: example1: summary: Submit raw transaction with timeout value: jsonrpc: '2.0' method: eth_sendRawTransactionSync params: - '0xf86c808504a817c80082520894ab5db0e98b8ea6b7f9d8ad8e8ed0bc8fba0d1a2f870de0b6b3a764000080821b9f' - 5000 id: 1 responses: '200': description: Successful transaction submission with receipt content: application/json: schema: type: object properties: jsonrpc: type: string example: '2.0' id: type: integer example: 1 result: type: object properties: transactionHash: type: string example: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' blockHash: type: string example: '0xabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcd' blockNumber: type: string example: '0x12345' gasUsed: type: string example: '0x5208' status: type: string example: '0x1' /eth_syncing: post: tags: - General summary: Eth_Syncing operationId: syncing requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_syncing id: type: integer default: 1 responses: '200': description: Syncing status of the node content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: startingBlock: type: string currentBlock: type: string highestBlock: type: string required: - startingBlock - currentBlock - highestBlock /eth_uninstallFilter: post: tags: - General summary: eth_uninstallFilter operationId: uninstallFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_uninstallFilter id: type: integer default: 1 params: type: array items: type: string default: - '0x1a2b3c' responses: '200': description: Success status of filter removal content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: boolean /net_listening: post: tags: - General summary: Net_Listening operationId: listening requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id properties: jsonrpc: type: string default: '2.0' method: type: string default: net_listening id: type: integer default: 1 responses: '200': description: Whether the client is listening for network connections content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: boolean description: True if the client is actively listening for network connections, false otherwise. /web3_clientVersion: post: tags: - General summary: web3_clientVersion operationId: clientVersion requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id properties: jsonrpc: type: string default: '2.0' method: type: string default: web3_clientVersion id: type: integer default: 1 responses: '200': description: The version of the Ethereum client content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string description: The client version string. /web3_sha3: post: tags: - General summary: Web3_Sha3 operationId: sha3 requestBody: required: true content: application/json: schema: type: object required: - jsonrpc - method - id - params properties: jsonrpc: type: string default: '2.0' method: type: string default: web3_sha3 id: type: integer default: 1 params: type: array default: - '0x436861696E737461636B' items: type: string responses: '200': description: The SHA3 result of the given data content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string description: The Keccak-256 hash of the input data.