From ca2f6f426bc1f7ced71b3fc629fdd1d982c953f1 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:26:34 -0400 Subject: [PATCH 01/12] feat: update spec for mantle --- src/openrpc/chains/mantle/mantle.yaml | 736 +++++++++++++++----------- 1 file changed, 418 insertions(+), 318 deletions(-) diff --git a/src/openrpc/chains/mantle/mantle.yaml b/src/openrpc/chains/mantle/mantle.yaml index 0e519e12d..82e4e3208 100644 --- a/src/openrpc/chains/mantle/mantle.yaml +++ b/src/openrpc/chains/mantle/mantle.yaml @@ -11,9 +11,30 @@ servers: name: Mantle Mainnet - url: https://mantle-sepolia.g.alchemy.com/v2 name: Mantle Sepolia - methods: - # Block methods + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_feeHistory + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleByBlockHashAndIndex + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleByBlockNumberAndIndex + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleCountByBlockHash + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleCountByBlockNumber + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_maxPriorityFeePerGas + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_callMany + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getAccount + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newBlockFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newFilter + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransactionSync + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_submitWork + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_subscribe + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_uninstallFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_unsubscribe - name: eth_getBlockByHash description: Returns information about a block by its hash. params: @@ -21,10 +42,12 @@ methods: required: true description: The hash of the block to retrieve. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - name: Hydrated transactions required: true - description: If true, returns full transaction objects; if false, returns only transaction hashes. + description: >- + If true, returns full transaction objects; if false, returns only + transaction hashes. schema: title: hydrated type: boolean @@ -33,62 +56,68 @@ methods: description: The block object containing various properties of the block. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/block.yaml#/components/schemas/Block" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: ../_components/evm/block.yaml#/components/schemas/Block examples: - name: eth_getBlockByHash example params: - name: Block hash - value: "0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c" + value: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' - name: Hydrated transactions value: false result: name: Block information value: - number: "0x68b3" - hash: "0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c" - mixHash: "0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d" - parentHash: "0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d" - nonce: "0x378da40ff335b070" - sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - logsBloom: "0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000" - transactionsRoot: "0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126" - stateRoot: "0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233" - receiptsRoot: "0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a" - miner: "0xb42b6c4a95406c78ff892d270ad20b22642e102d" - difficulty: "0x66e619a" - totalDifficulty: "0x1e875d746ae" - extraData: "0xd583010502846765746885676f312e37856c696e7578" - size: "0x334" - gasLimit: "0x47e7c4" - gasUsed: "0x37993" - timestamp: "0x5835c54d" + number: '0x68b3' + hash: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' + mixHash: '0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d' + parentHash: '0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d' + nonce: '0x378da40ff335b070' + sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347' + logsBloom: >- + 0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000 + transactionsRoot: '0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126' + stateRoot: '0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233' + receiptsRoot: '0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a' + miner: '0xb42b6c4a95406c78ff892d270ad20b22642e102d' + difficulty: '0x66e619a' + totalDifficulty: '0x1e875d746ae' + extraData: '0xd583010502846765746885676f312e37856c696e7578' + size: '0x334' + gasLimit: '0x47e7c4' + gasUsed: '0x37993' + timestamp: '0x5835c54d' uncles: [] transactions: - - "0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc" - - "0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d" - baseFeePerGas: "0x7" - withdrawalsRoot: "0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f" + - >- + 0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc + - >- + 0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d + baseFeePerGas: '0x7' + withdrawalsRoot: '0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f' withdrawals: - - index: "0x0" - validatorIndex: "0x9d8c0" - address: "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f" - amount: "0x11a33e3760" - blobGasUsed: "0x0" - excessBlobGas: "0x0" - parentBeaconBlockRoot: "0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685" - + - index: '0x0' + validatorIndex: '0x9d8c0' + address: '0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f' + amount: '0x11a33e3760' + blobGasUsed: '0x0' + excessBlobGas: '0x0' + parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685' - name: eth_getBlockByNumber description: Returns information about a block by its number. params: - name: Block number or tag required: true - description: The block number or special tags like 'latest', 'earliest', or 'pending'. + description: >- + The block number or special tags like 'latest', 'earliest', or + 'pending'. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag" + $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - name: Hydrated transactions required: true - description: If true, returns full transaction objects; if false, returns only transaction hashes. + description: >- + If true, returns full transaction objects; if false, returns only + transaction hashes. schema: title: hydrated type: boolean @@ -97,102 +126,107 @@ methods: description: The block object containing various properties of the block. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/block.yaml#/components/schemas/Block" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: ../_components/evm/block.yaml#/components/schemas/Block examples: - name: eth_getBlockByNumber example params: - name: Block number or tag - value: "0x68b3" + value: '0x68b3' - name: Hydrated transactions value: false result: name: Block information value: - number: "0x68b3" - hash: "0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c" - mixHash: "0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d" - parentHash: "0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d" - nonce: "0x378da40ff335b070" - sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - logsBloom: "0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000" - transactionsRoot: "0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126" - stateRoot: "0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233" - receiptsRoot: "0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a" - miner: "0xb42b6c4a95406c78ff892d270ad20b22642e102d" - difficulty: "0x66e619a" - totalDifficulty: "0x1e875d746ae" - extraData: "0xd583010502846765746885676f312e37856c696e7578" - size: "0x334" - gasLimit: "0x47e7c4" - gasUsed: "0x37993" - timestamp: "0x5835c54d" + number: '0x68b3' + hash: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' + mixHash: '0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d' + parentHash: '0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d' + nonce: '0x378da40ff335b070' + sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347' + logsBloom: >- + 0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000 + transactionsRoot: '0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126' + stateRoot: '0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233' + receiptsRoot: '0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a' + miner: '0xb42b6c4a95406c78ff892d270ad20b22642e102d' + difficulty: '0x66e619a' + totalDifficulty: '0x1e875d746ae' + extraData: '0xd583010502846765746885676f312e37856c696e7578' + size: '0x334' + gasLimit: '0x47e7c4' + gasUsed: '0x37993' + timestamp: '0x5835c54d' uncles: [] transactions: - - "0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc" - - "0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d" - baseFeePerGas: "0x7" - withdrawalsRoot: "0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f" + - >- + 0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc + - >- + 0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d + baseFeePerGas: '0x7' + withdrawalsRoot: '0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f' withdrawals: - - index: "0x0" - validatorIndex: "0x9d8c0" - address: "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f" - amount: "0x11a33e3760" - blobGasUsed: "0x0" - excessBlobGas: "0x0" - parentBeaconBlockRoot: "0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685" - + - index: '0x0' + validatorIndex: '0x9d8c0' + address: '0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f' + amount: '0x11a33e3760' + blobGasUsed: '0x0' + excessBlobGas: '0x0' + parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685' - name: eth_getBlockTransactionCountByHash - description: Returns the number of transactions in a block from a block matching the given block hash. + description: >- + Returns the number of transactions in a block from a block matching the + given block hash. params: - name: Block hash required: true description: The hash of the block. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 result: name: Transaction count description: The number of transactions in the block as a hexadecimal string. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - title: Transaction count - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_getBlockTransactionCountByHash example params: - name: Block hash - value: "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238" + value: '0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238' result: name: Transaction count - value: "0x8" - + value: '0x8' - name: eth_getBlockTransactionCountByNumber - description: Returns the number of transactions in a block matching the given block number. + description: >- + Returns the number of transactions in a block matching the given block + number. params: - name: Block number or tag required: true - description: The block number or special tags like 'latest', 'earliest', or 'pending'. + description: >- + The block number or special tags like 'latest', 'earliest', or + 'pending'. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag" + $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag result: name: Transaction count description: The number of transactions in the block as a hexadecimal string. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - title: Transaction count - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_getBlockTransactionCountByNumber example params: - name: Block number or tag - value: "0xe8" + value: '0xe8' result: name: Transaction count - value: "0x8" - - # Client methods + value: '0x8' - name: eth_chainId description: Returns the chain ID of the current network as a hexadecimal string. params: [] @@ -200,55 +234,57 @@ methods: name: Chain ID description: The chain ID of the current network in hexadecimal format. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_chainId example params: [] result: name: Chain ID - value: "0x1" - + value: '0x1' - name: eth_syncing - description: Returns an object with data about the sync status or `false` if not syncing. + description: >- + Returns an object with data about the sync status or `false` if not + syncing. params: [] result: name: Syncing status - description: An object with synchronization status data when syncing, or `false` when not syncing. + description: >- + An object with synchronization status data when syncing, or `false` when + not syncing. schema: oneOf: - type: boolean - # enum: [false] - - $ref: "../_components/evm/client.yaml#/components/schemas/SyncingStatus" + - $ref: ../_components/evm/client.yaml#/components/schemas/SyncingStatus examples: - name: eth_syncing example (syncing) params: [] result: name: Syncing status value: - startingBlock: "0x0" - currentBlock: "0x1518" - highestBlock: "0x9567a3" + startingBlock: '0x0' + currentBlock: '0x1518' + highestBlock: '0x9567a3' - name: eth_syncing example (not syncing) params: [] result: name: Syncing status value: false - - name: eth_blockNumber description: Returns the number of the most recent block. params: [] result: name: Block number - description: The block number of the most recently mined block as a hexadecimal string. + description: >- + The block number of the most recently mined block as a hexadecimal + string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_blockNumber example params: [] result: name: Block number - value: "0x2377" - + value: '0x2377' - name: web3_clientVersion description: Returns the current client version. params: [] @@ -263,14 +299,15 @@ methods: params: [] result: name: Client Version - value: "Geth/v1.10.8-stable-26675454/linux-amd64/go1.16.6" - + value: Geth/v1.10.8-stable-26675454/linux-amd64/go1.16.6 - name: net_version description: Returns the network ID that the client is connected to. params: [] result: name: Network ID - description: The network ID as a string. Common IDs are `"1"` for mainnet, `"3"` for Ropsten, etc. + description: >- + The network ID as a string. Common IDs are `"1"` for mainnet, `"3"` for + Ropsten, etc. schema: title: Network ID type: string @@ -279,70 +316,83 @@ methods: params: [] result: name: Network ID - value: "1" - - # Execute methods + value: '1' - name: eth_call - description: Executes a new message call immediately without creating a transaction on the blockchain. + description: >- + Executes a new message call immediately without creating a transaction on + the blockchain. params: - name: Transaction required: true - description: The transaction call object containing the details of the message call. + description: >- + The transaction call object containing the details of the message + call. schema: - $ref: "../_components/evm/transaction.yaml#/components/schemas/GenericTransaction" + $ref: >- + ../_components/evm/transaction.yaml#/components/schemas/GenericTransaction - name: Block required: false - description: The block number, tag, or hash at which to execute the call. Defaults to `'latest'` if not provided. + description: >- + The block number, tag, or hash at which to execute the call. Defaults + to `'latest'` if not provided. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Return data - description: The return value of the executed contract function, encoded as a hexadecimal string. + description: >- + The return value of the executed contract function, encoded as a + hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytes" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes examples: - name: eth_call example params: - name: Transaction value: - to: "0x69498dd54bd25aa0c886cf1f8b8ae0856d55ff13" - value: "0x1" + to: '0x69498dd54bd25aa0c886cf1f8b8ae0856d55ff13' + value: '0x1' - name: Block - value: "latest" + value: latest result: name: Return data - value: "0x" - + value: 0x - name: eth_estimateGas - description: Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. + description: >- + Generates and returns an estimate of how much gas is necessary to allow + the transaction to complete. params: - name: Transaction required: true description: The transaction object for which to estimate gas usage. schema: - $ref: "../_components/evm/transaction.yaml#/components/schemas/GenericTransaction" + $ref: >- + ../_components/evm/transaction.yaml#/components/schemas/GenericTransaction - name: Block required: false - description: The block number or tag at which to estimate gas usage. Defaults to `'latest'` if not provided. + description: >- + The block number or tag at which to estimate gas usage. Defaults to + `'latest'` if not provided. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag" + $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag result: name: Gas used - description: The estimated amount of gas required for the transaction, as a hexadecimal string. + description: >- + The estimated amount of gas required for the transaction, as a + hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_estimateGas example params: - name: Transaction value: - from: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" - to: "0x44aa93095d6749a706051658b970b941c72c1d53" - value: "0x1" + from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' + to: '0x44aa93095d6749a706051658b970b941c72c1d53' + value: '0x1' result: name: Gas used - value: "0x5208" - + value: '0x5208' - name: web3_sha3 description: Returns Keccak-256 (not the standardized SHA3-256) hash of the given data. params: @@ -350,22 +400,20 @@ methods: required: true description: The data to hash, encoded as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytes" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes result: name: Hash description: The Keccak-256 hash of the input data, as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 examples: - name: web3_sha3 example params: - name: Data - value: "0x68656c6c6f20776f726c64" + value: '0x68656c6c6f20776f726c64' result: name: Hash - value: "0x47173285a8d734ad4162d1b2ca3c6f0d0fabc60b8d702d31fd8e5c98569c36f9" - - # Fee_market methods + value: '0x47173285a8d734ad4162d1b2ca3c6f0d0fabc60b8d702d31fd8e5c98569c36f9' - name: eth_gasPrice description: Returns the current price per gas in wei. params: [] @@ -374,75 +422,91 @@ methods: description: The current gas price in wei, as a hexadecimal string. schema: title: Gas price - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_gasPrice example params: [] result: name: Gas price - value: "0x3e8" - - # Filter methods + value: '0x3e8' - name: eth_getLogs - description: | + description: > Returns an array of all logs matching the specified filter. + ### Supported Block Ranges - Here are the block ranges you're able to submit in a single query, depending on your plan tier: + + Here are the block ranges you're able to submit in a single query, + depending on your plan tier: + > ⚠️ Note: All responses will be capped at 150MB. + | Chain | Free | Pay As You Go | Enterprise | + |-------|------|---------------|------------| - | Ethereum and Layer 2s (Ethereum, Base, Optimism, Arbitrum, Worldchain) | 500 | unlimited | unlimited | + + | Ethereum and Layer 2s (Ethereum, Base, Optimism, Arbitrum, Worldchain) | + 500 | unlimited | unlimited | + | Polygon | 500 | 2000 | unlimited | + | Monad | 500 | 1000 | 1000 | + | BSC | 500 | 10000 | 10000 | + | All Other Chains | 500 | 10000 | unlimited | params: - name: Filter required: true description: The filter options object to specify the criteria for logs retrieval. schema: - $ref: "../_components/evm/filter.yaml#/components/schemas/Filter" + $ref: ../_components/evm/filter.yaml#/components/schemas/Filter result: name: Log objects description: An array of log objects matching the filter criteria. schema: - $ref: "../_components/evm/filter.yaml#/components/schemas/FilterResults" + $ref: ../_components/evm/filter.yaml#/components/schemas/FilterResults examples: - name: eth_getLogs example params: - name: Filter value: - fromBlock: "0x137d3c2" - toBlock: "0x137d3c3" - address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" + fromBlock: '0x137d3c2' + toBlock: '0x137d3c3' + address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' topics: [] result: name: Log objects value: - - logIndex: "0x0" + - logIndex: '0x0' removed: false - blockNumber: "0x233" - blockHash: "0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5" - transactionHash: "0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d" - transactionIndex: "0x0" - address: "0x42699a7612a82f1d9c36148af9c77354759b210b" - data: "0x0000000000000000000000000000000000000000000000000000000000000004" + blockNumber: '0x233' + blockHash: >- + 0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5 + transactionHash: >- + 0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d + transactionIndex: '0x0' + address: '0x42699a7612a82f1d9c36148af9c77354759b210b' + data: >- + 0x0000000000000000000000000000000000000000000000000000000000000004 topics: - - "0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3" - - logIndex: "0x0" + - >- + 0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3 + - logIndex: '0x0' removed: false - blockNumber: "0x238" - blockHash: "0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed" - transactionHash: "0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058" - transactionIndex: "0x0" - address: "0x42699a7612a82f1d9c36148af9c77354759b210b" - data: "0x0000000000000000000000000000000000000000000000000000000000000007" + blockNumber: '0x238' + blockHash: >- + 0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed + transactionHash: >- + 0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058 + transactionIndex: '0x0' + address: '0x42699a7612a82f1d9c36148af9c77354759b210b' + data: >- + 0x0000000000000000000000000000000000000000000000000000000000000007 topics: - - "0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3" - - # State methods + - >- + 0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3 - name: eth_getBalance description: Returns the balance of the account of a given address. params: @@ -450,28 +514,30 @@ methods: required: true description: The address of the account to query the balance for. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/address" + $ref: ../_components/evm/base-types.yaml#/components/schemas/address - name: Block required: true - description: The block number, tag, or hash at which to retrieve the balance. Can be a block number, 'latest', 'earliest', 'pending', or a block hash. + description: >- + The block number, tag, or hash at which to retrieve the balance. Can + be a block number, 'latest', 'earliest', 'pending', or a block hash. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Balance description: The balance of the account in wei, encoded as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_getBalance example params: - name: Address - value: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" + value: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - name: Block - value: "latest" + value: latest result: name: Balance - value: "0x1cfe56f3795885980000" - + value: '0x1cfe56f3795885980000' - name: eth_getStorageAt description: Returns the value from a storage position at a given address. params: @@ -479,35 +545,39 @@ methods: required: true description: The address of the contract to read storage from. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/address" + $ref: ../_components/evm/base-types.yaml#/components/schemas/address - name: Storage slot required: true - description: The index position of the storage slot to retrieve, as a hexadecimal string. + description: >- + The index position of the storage slot to retrieve, as a hexadecimal + string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint256" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint256 - name: Block required: true description: The block number, tag, or hash at which to retrieve the storage value. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Value - description: The value stored at the given storage slot, encoded as a hexadecimal string. + description: >- + The value stored at the given storage slot, encoded as a hexadecimal + string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytes" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes examples: - name: eth_getStorageAt example params: - name: Address - value: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" + value: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - name: Storage slot - value: "0x0" + value: '0x0' - name: Block - value: "latest" + value: latest result: name: Value - value: "0x0000000000000000000000000000000000000000000000000000000000000000" - + value: '0x0000000000000000000000000000000000000000000000000000000000000000' - name: eth_getTransactionCount description: Returns the number of transactions sent from an address. params: @@ -515,28 +585,32 @@ methods: required: true description: The address of the account to get the transaction count for. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/address" + $ref: ../_components/evm/base-types.yaml#/components/schemas/address - name: Block required: true - description: The block number, tag, or hash at which to retrieve the transaction count. + description: >- + The block number, tag, or hash at which to retrieve the transaction + count. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Transaction count - description: The number of transactions sent from the address, as a hexadecimal string. + description: >- + The number of transactions sent from the address, as a hexadecimal + string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint examples: - name: eth_getTransactionCount example params: - name: Address - value: "0xc94770007dda54cF92009BFF0dE90c06F603a09f" + value: '0xc94770007dda54cF92009BFF0dE90c06F603a09f' - name: Block - value: "latest" + value: latest result: name: Transaction count - value: "0x1" - + value: '0x1' - name: eth_getCode description: Returns the code at a given address. params: @@ -544,36 +618,39 @@ methods: required: true description: The address of the contract to get code from. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/address" + $ref: ../_components/evm/base-types.yaml#/components/schemas/address - name: Block required: true description: The block number, tag, or hash at which to retrieve the code. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Bytecode description: The code from the specified address, as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytes" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes examples: - name: eth_getCode example params: - name: Address - value: "0xa50a51c09a5c451c52bb714527e1974b686d8e77" + value: '0xa50a51c09a5c451c52bb714527e1974b686d8e77' - name: Block - value: "latest" + value: latest result: name: Bytecode - value: "0x60806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633fa4f2458114604d57806355241077146071575b600080fd5b348015605857600080fd5b50605f6088565b60408051918252519081900360200190f35b348015607c57600080fd5b506086600435608e565b005b60005481565b60008190556040805182815290517f199cd93e851e4c78c437891155e2112093f8f15394aa89dab09e38d6ca0727879181900360200190a1505600a165627a7a723058209d8929142720a69bde2ab3bfa2da6217674b984899b62753979743c0470a2ea70029" - + value: >- + 0x60806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633fa4f2458114604d57806355241077146071575b600080fd5b348015605857600080fd5b50605f6088565b60408051918252519081900360200190f35b348015607c57600080fd5b506086600435608e565b005b60005481565b60008190556040805182815290517f199cd93e851e4c78c437891155e2112093f8f15394aa89dab09e38d6ca0727879181900360200190a1505600a165627a7a723058209d8929142720a69bde2ab3bfa2da6217674b984899b62753979743c0470a2ea70029 - name: eth_getProof - description: Returns the Merkle proof for a given account and optionally some storage keys. + description: >- + Returns the Merkle proof for a given account and optionally some storage + keys. params: - name: Address required: true description: The address of the account to generate the proof for. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/address" + $ref: ../_components/evm/base-types.yaml#/components/schemas/address - name: StorageKeys required: true description: An array of storage keys (slots) to generate proofs for. @@ -581,71 +658,81 @@ methods: title: Storage keys type: array items: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytesMax32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytesMax32 - name: Block required: true description: The block number, tag, or hash at which to generate the proof. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash" + $ref: >- + ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash result: name: Account proof description: An object containing the account proof and storage proofs. schema: - $ref: "../_components/evm/state.yaml#/components/schemas/AccountProof" + $ref: ../_components/evm/state.yaml#/components/schemas/AccountProof examples: - name: eth_getProof example params: - name: Address - value: "0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8" + value: '0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8' - name: StorageKeys value: - - "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" - - "0x283s34c8e2b1456f09832c71e5d6a0b4f8c9e1d3a2b5c7f0e6d4a8b2c1f3e5d7" + - >- + 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 + - >- + 0x283s34c8e2b1456f09832c71e5d6a0b4f8c9e1d3a2b5c7f0e6d4a8b2c1f3e5d7 - name: Block - value: "latest" + value: latest result: name: Account proof value: accountProof: - - "0xf90211a06a718c2c9da77c253b12d7b2569657901e37bb691718f5dda1b86157ab1dd5eda0e7f19ed5e21bccc8d3260236b24f80ad88b3634f5d005f37b838881f0e12f1bda0abb301291704e4d92686c0f5f8ebb1734185321559b8d717ffdca95c99591976a0d0c2026bfab65c3b95276bfa82af9dec860b485f8857f293c148d63a2182128fa0c98044ec9a1273a218bed58b478277dd39173ad7b8edb95c200423a6bc8fc25fa056e5a55d9ddccdbf49362857200bbb1f042d61187c9f5f9ddcff5d2f1fc984a2a02a5b7200af424114f99a4b5f0a21c19aac82209e431ed80bfde177adb1004bdfa0026e4374f0518ff44a80fa374838ecb86cc64ac93bb710fea6dff4198f947b27a03fea341d87984673ad523177ed52f278bf4d8f97e6531c8ece932aeede4802f4a0bfe2f4a7fcb78f7e9f080dea7b6977fb1d88c441696e4456dad92b9d34ff0f43a02a3eb5c0edb14626c9c629601027bd60178bb2b688a67cea4d179fc432436615a0747355b8e02f3b884b4ffe5cea1619e32515fea064cca98208591af8c744e894a0874253737bae37f020ad3bb7e3292c7c4a63cdc158af6b33aaa4deaef016dccba03d8192bc1fc6aa1548912e763a0b5013a94399cefad7b47cf388873b2b794068a09b67f9737c6028d796bfd1c5da57a6f45824dc891f848ea0e1f8019d1fb5fba8a0aa871f9de8da85960fcd8a22cdf21c27f11e3966c14a6737ffd414b98dda00b280" - balance: "0x0" - codeHash: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - nonce: "0x0" - storageHash: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + - >- + 0xf90211a06a718c2c9da77c253b12d7b2569657901e37bb691718f5dda1b86157ab1dd5eda0e7f19ed5e21bccc8d3260236b24f80ad88b3634f5d005f37b838881f0e12f1bda0abb301291704e4d92686c0f5f8ebb1734185321559b8d717ffdca95c99591976a0d0c2026bfab65c3b95276bfa82af9dec860b485f8857f293c148d63a2182128fa0c98044ec9a1273a218bed58b478277dd39173ad7b8edb95c200423a6bc8fc25fa056e5a55d9ddccdbf49362857200bbb1f042d61187c9f5f9ddcff5d2f1fc984a2a02a5b7200af424114f99a4b5f0a21c19aac82209e431ed80bfde177adb1004bdfa0026e4374f0518ff44a80fa374838ecb86cc64ac93bb710fea6dff4198f947b27a03fea341d87984673ad523177ed52f278bf4d8f97e6531c8ece932aeede4802f4a0bfe2f4a7fcb78f7e9f080dea7b6977fb1d88c441696e4456dad92b9d34ff0f43a02a3eb5c0edb14626c9c629601027bd60178bb2b688a67cea4d179fc432436615a0747355b8e02f3b884b4ffe5cea1619e32515fea064cca98208591af8c744e894a0874253737bae37f020ad3bb7e3292c7c4a63cdc158af6b33aaa4deaef016dccba03d8192bc1fc6aa1548912e763a0b5013a94399cefad7b47cf388873b2b794068a09b67f9737c6028d796bfd1c5da57a6f45824dc891f848ea0e1f8019d1fb5fba8a0aa871f9de8da85960fcd8a22cdf21c27f11e3966c14a6737ffd414b98dda00b280 + balance: '0x0' + codeHash: '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' + nonce: '0x0' + storageHash: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421' storageProof: - - key: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + - key: >- + 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 proof: - - "0xf90211a0c87222cccea2bf32759fcee9dbaacbe3ea4165dd6184af6773651c5e00e34a8ba0be90e6e5d1a67ab5587779c60ac136d6a96db62b84c04998a5f03a367346abd6a05344aa1c9ca2e3e56bf98fd718ec43728578d148e1967fbaf8bf17a2a073a0bda011a2f9312c3308640a0d6ceeae218747290f23806067456da1d444c65abae437a0b3097a108bfce79af6699da4ae3003cd4929f0b4576aad655c31cb725bde84c7a0c133d3c637e174f36a73c22b1039eb003da6374bc0929321241badb3efa3c4a9a0f13059f2301ad9862ce02e3f7f3f2c9ab78eb30583764d73654f7f1f8b1e86fda06544e3915748b18204e09df75ff20d2fa6bd8121e2e669699012d54590383d6fa070e3a8e093691581d58fadb560b510262a758037632cd8670d3a36df828976b7a062a88a2900544dc76a32255a6b2b2a2eef8fa68279700c00adc7508286702552a0a474aeebd5603dfce46a6ecd1ecd519068dc034a544fde03ac42d4018e60a334a0b7d528fc41c8fdc8ea18c6e7d0099270c777ec1403cf879d1f5134bdc12a6c6ca04440f1242e42c5bfa7c536591ab89c8e84bea417435871c32eef1e25295b20daa06a5dcfe3cc84cff9d3e3c3ae868cfba8f0dd111a90c3f85869dab5b893f96643a026b2fb9dd7d08b0ed2f1c44fbf875011412a384f86f751c92e1013248d4aa371a0c75597b2b789fc4e939b71937390ce9d7d53159431328ac52180eef08ef200f280" - value: "0x1" - - # Submit methods + - >- + 0xf90211a0c87222cccea2bf32759fcee9dbaacbe3ea4165dd6184af6773651c5e00e34a8ba0be90e6e5d1a67ab5587779c60ac136d6a96db62b84c04998a5f03a367346abd6a05344aa1c9ca2e3e56bf98fd718ec43728578d148e1967fbaf8bf17a2a073a0bda011a2f9312c3308640a0d6ceeae218747290f23806067456da1d444c65abae437a0b3097a108bfce79af6699da4ae3003cd4929f0b4576aad655c31cb725bde84c7a0c133d3c637e174f36a73c22b1039eb003da6374bc0929321241badb3efa3c4a9a0f13059f2301ad9862ce02e3f7f3f2c9ab78eb30583764d73654f7f1f8b1e86fda06544e3915748b18204e09df75ff20d2fa6bd8121e2e669699012d54590383d6fa070e3a8e093691581d58fadb560b510262a758037632cd8670d3a36df828976b7a062a88a2900544dc76a32255a6b2b2a2eef8fa68279700c00adc7508286702552a0a474aeebd5603dfce46a6ecd1ecd519068dc034a544fde03ac42d4018e60a334a0b7d528fc41c8fdc8ea18c6e7d0099270c777ec1403cf879d1f5134bdc12a6c6ca04440f1242e42c5bfa7c536591ab89c8e84bea417435871c32eef1e25295b20daa06a5dcfe3cc84cff9d3e3c3ae868cfba8f0dd111a90c3f85869dab5b893f96643a026b2fb9dd7d08b0ed2f1c44fbf875011412a384f86f751c92e1013248d4aa371a0c75597b2b789fc4e939b71937390ce9d7d53159431328ac52180eef08ef200f280 + value: '0x1' - name: eth_sendRawTransaction summary: Submits a raw transaction to the network. - description: | - Submits a raw transaction (serialized and signed) for broadcasting to the network. The transaction data should be encoded as a hexadecimal string starting with `0x`. You can create and sign a transaction externally using libraries like [web3.js](https://web3js.readthedocs.io/) or [ethers.js](https://docs.ethers.org/). + description: > + Submits a raw transaction (serialized and signed) for broadcasting to the + network. The transaction data should be encoded as a hexadecimal string + starting with `0x`. You can create and sign a transaction externally using + libraries like [web3.js](https://web3js.readthedocs.io/) or + [ethers.js](https://docs.ethers.org/). + - **Note:** For [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) transactions, the raw form must be in the network format, which includes blobs, KZG commitments, and KZG proofs. + **Note:** For [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) + transactions, the raw form must be in the network format, which includes + blobs, KZG commitments, and KZG proofs. params: - name: Transaction required: true description: The raw transaction data to submit, encoded as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/bytes" + $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes result: name: Transaction hash description: The hash of the submitted transaction, as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 examples: - name: eth_sendRawTransaction example params: - name: Transaction - value: "0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833" + value: >- + 0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833 result: name: Transaction hash - value: "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331" - - # Transaction methods + value: '0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331' - name: eth_getTransactionByHash description: Returns information about a transaction requested by transaction hash. params: @@ -653,130 +740,140 @@ methods: required: true description: The hash of the transaction to retrieve. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 result: name: Transaction information description: The transaction object containing various properties of the transaction. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/transaction.yaml#/components/schemas/TransactionInfo" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: >- + ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo examples: - name: eth_getTransactionByHash example params: - name: Transaction hash - value: "0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44" + value: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' result: name: Transaction information value: - blockHash: "0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda" - blockNumber: "0x422" - chainId: "0x7e2" - from: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" - gas: "0x5208" - gasPrice: "0x3b9aca00" - hash: "0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44" - input: "0x" - nonce: "0x1" - to: "0x627306090abab3a6e1400e9345bc60c78a8bef57" - transactionIndex: "0x0" - value: "0x4e1003b28d9280000" - v: "0x1c" - r: "0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3" - s: "0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9" - + blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' + blockNumber: '0x422' + chainId: '0x7e2' + from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' + gas: '0x5208' + gasPrice: '0x3b9aca00' + hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' + input: 0x + nonce: '0x1' + to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' + transactionIndex: '0x0' + value: '0x4e1003b28d9280000' + v: '0x1c' + r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' + s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - name: eth_getTransactionByBlockHashAndIndex - description: Returns information about a transaction by block hash and transaction index position. + description: >- + Returns information about a transaction by block hash and transaction + index position. params: - name: Block hash required: true description: The hash of the block containing the transaction. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - name: Transaction index required: true - description: The index position of the transaction in the block's transaction list, as a hexadecimal string. + description: >- + The index position of the transaction in the block's transaction list, + as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint result: name: Transaction information description: The transaction object containing various properties of the transaction. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/transaction.yaml#/components/schemas/TransactionInfo" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: >- + ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo examples: - name: eth_getTransactionByBlockHashAndIndex example params: - name: Block hash - value: "0xbf137c3a7a1ebdfac21252765e5d7f40d115c2757e4a4abee929be88c624fdb7" + value: '0xbf137c3a7a1ebdfac21252765e5d7f40d115c2757e4a4abee929be88c624fdb7' - name: Transaction index - value: "0x2" + value: '0x2' result: name: Transaction information value: - blockHash: "0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda" - blockNumber: "0x422" - chainId: "0x7e2" - from: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" - gas: "0x5208" - gasPrice: "0x3b9aca00" - hash: "0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44" - input: "0x" - nonce: "0x1" - to: "0x627306090abab3a6e1400e9345bc60c78a8bef57" - transactionIndex: "0x2" - value: "0x4e1003b28d9280000" - v: "0x1c" - r: "0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3" - s: "0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9" - + blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' + blockNumber: '0x422' + chainId: '0x7e2' + from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' + gas: '0x5208' + gasPrice: '0x3b9aca00' + hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' + input: 0x + nonce: '0x1' + to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' + transactionIndex: '0x2' + value: '0x4e1003b28d9280000' + v: '0x1c' + r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' + s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - name: eth_getTransactionByBlockNumberAndIndex - description: Returns information about a transaction by block number and transaction index position. + description: >- + Returns information about a transaction by block number and transaction + index position. params: - name: Block required: true - description: The block number or tag ('latest', 'earliest', 'pending') containing the transaction. + description: >- + The block number or tag ('latest', 'earliest', 'pending') containing + the transaction. schema: - $ref: "../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag" + $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - name: Transaction index required: true - description: The index position of the transaction in the block's transaction list, as a hexadecimal string. + description: >- + The index position of the transaction in the block's transaction list, + as a hexadecimal string. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/uint" + $ref: ../_components/evm/base-types.yaml#/components/schemas/uint result: name: Transaction information description: The transaction object containing various properties of the transaction. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/transaction.yaml#/components/schemas/TransactionInfo" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: >- + ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo examples: - name: eth_getTransactionByBlockNumberAndIndex example params: - name: Block - value: "0x1442e" + value: '0x1442e' - name: Transaction index - value: "0x2" + value: '0x2' result: name: Transaction information value: - blockHash: "0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda" - blockNumber: "0x1442e" - chainId: "0x7e2" - from: "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" - gas: "0x5208" - gasPrice: "0x3b9aca00" - hash: "0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44" - input: "0x" - nonce: "0x1" - to: "0x627306090abab3a6e1400e9345bc60c78a8bef57" - transactionIndex: "0x2" - value: "0x4e1003b28d9280000" - v: "0x1c" - r: "0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3" - s: "0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9" - + blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' + blockNumber: '0x1442e' + chainId: '0x7e2' + from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' + gas: '0x5208' + gasPrice: '0x3b9aca00' + hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' + input: 0x + nonce: '0x1' + to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' + transactionIndex: '0x2' + value: '0x4e1003b28d9280000' + v: '0x1c' + r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' + s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - name: eth_getTransactionReceipt description: Returns the receipt of a transaction by transaction hash. params: @@ -784,33 +881,36 @@ methods: required: true description: The hash of the transaction for which to get the receipt. schema: - $ref: "../_components/evm/base-types.yaml#/components/schemas/hash32" + $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 result: name: Receipt information - description: The transaction receipt object containing various properties of the transaction receipt. + description: >- + The transaction receipt object containing various properties of the + transaction receipt. schema: oneOf: - - $ref: "../_components/evm/base-types.yaml#/components/schemas/notFound" - - $ref: "../_components/evm/receipt.yaml#/components/schemas/ReceiptInfo" + - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound + - $ref: ../_components/evm/receipt.yaml#/components/schemas/ReceiptInfo examples: - name: eth_getTransactionReceipt example params: - name: Transaction hash - value: "0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f" + value: '0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f' result: name: Receipt information value: - blockHash: "0xe7212a92cfb9b06addc80dec2a0dfae9ea94fd344efeb157c41e12994fcad60a" - blockNumber: "0x50" + blockHash: '0xe7212a92cfb9b06addc80dec2a0dfae9ea94fd344efeb157c41e12994fcad60a' + blockNumber: '0x50' contractAddress: null - cumulativeGasUsed: "0x5208" - from: "0x627306090abab3a6e1400e9345bc60c78a8bef57" - gasUsed: "0x5208" - effectiveGasPrice: "0x1" + cumulativeGasUsed: '0x5208' + from: '0x627306090abab3a6e1400e9345bc60c78a8bef57' + gasUsed: '0x5208' + effectiveGasPrice: '0x1' logs: [] - logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - status: "0x1" - to: "0xf17f52151ebef6c7334fad080c5704d77216b732" - transactionHash: "0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f" - transactionIndex: "0x0" - type: "0x0" + logsBloom: >- + 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + status: '0x1' + to: '0xf17f52151ebef6c7334fad080c5704d77216b732' + transactionHash: '0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f' + transactionIndex: '0x0' + type: '0x0' From cb32ede56c92fc33c759ef74bb7e7f2c16a17dbc Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:28:42 -0400 Subject: [PATCH 02/12] feat: update spec for mantle --- src/openrpc/chains/mantle/mantle.yaml | 910 +------------------------- 1 file changed, 31 insertions(+), 879 deletions(-) diff --git a/src/openrpc/chains/mantle/mantle.yaml b/src/openrpc/chains/mantle/mantle.yaml index 82e4e3208..824334c47 100644 --- a/src/openrpc/chains/mantle/mantle.yaml +++ b/src/openrpc/chains/mantle/mantle.yaml @@ -13,6 +13,7 @@ servers: name: Mantle Sepolia methods: - $ref: ../_components/custom/methods.yaml#/components/methods/eth_feeHistory + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_getProof - $ref: >- ../_components/custom/methods.yaml#/components/methods/eth_getUncleByBlockHashAndIndex - $ref: >- @@ -23,894 +24,45 @@ methods: ../_components/custom/methods.yaml#/components/methods/eth_getUncleCountByBlockNumber - $ref: >- ../_components/custom/methods.yaml#/components/methods/eth_maxPriorityFeePerGas + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_syncing + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_blockNumber + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_call - $ref: ../_components/evm/methods.yaml#/components/methods/eth_callMany + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_chainId + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_estimateGas + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_gasPrice - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getAccount + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBalance + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBlockByHash + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBlockByNumber + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getBlockTransactionCountByHash + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getBlockTransactionCountByNumber + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getCode - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockNumberAndIndex + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByHash + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionCount + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionReceipt - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newBlockFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransaction - $ref: >- ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransactionSync - $ref: ../_components/evm/methods.yaml#/components/methods/eth_submitWork - $ref: ../_components/evm/methods.yaml#/components/methods/eth_subscribe - $ref: ../_components/evm/methods.yaml#/components/methods/eth_uninstallFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_unsubscribe - - name: eth_getBlockByHash - description: Returns information about a block by its hash. - params: - - name: Block hash - required: true - description: The hash of the block to retrieve. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - - name: Hydrated transactions - required: true - description: >- - If true, returns full transaction objects; if false, returns only - transaction hashes. - schema: - title: hydrated - type: boolean - result: - name: Block information - description: The block object containing various properties of the block. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: ../_components/evm/block.yaml#/components/schemas/Block - examples: - - name: eth_getBlockByHash example - params: - - name: Block hash - value: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' - - name: Hydrated transactions - value: false - result: - name: Block information - value: - number: '0x68b3' - hash: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' - mixHash: '0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d' - parentHash: '0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d' - nonce: '0x378da40ff335b070' - sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347' - logsBloom: >- - 0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000 - transactionsRoot: '0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126' - stateRoot: '0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233' - receiptsRoot: '0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a' - miner: '0xb42b6c4a95406c78ff892d270ad20b22642e102d' - difficulty: '0x66e619a' - totalDifficulty: '0x1e875d746ae' - extraData: '0xd583010502846765746885676f312e37856c696e7578' - size: '0x334' - gasLimit: '0x47e7c4' - gasUsed: '0x37993' - timestamp: '0x5835c54d' - uncles: [] - transactions: - - >- - 0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc - - >- - 0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d - baseFeePerGas: '0x7' - withdrawalsRoot: '0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f' - withdrawals: - - index: '0x0' - validatorIndex: '0x9d8c0' - address: '0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f' - amount: '0x11a33e3760' - blobGasUsed: '0x0' - excessBlobGas: '0x0' - parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685' - - name: eth_getBlockByNumber - description: Returns information about a block by its number. - params: - - name: Block number or tag - required: true - description: >- - The block number or special tags like 'latest', 'earliest', or - 'pending'. - schema: - $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - - name: Hydrated transactions - required: true - description: >- - If true, returns full transaction objects; if false, returns only - transaction hashes. - schema: - title: hydrated - type: boolean - result: - name: Block information - description: The block object containing various properties of the block. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: ../_components/evm/block.yaml#/components/schemas/Block - examples: - - name: eth_getBlockByNumber example - params: - - name: Block number or tag - value: '0x68b3' - - name: Hydrated transactions - value: false - result: - name: Block information - value: - number: '0x68b3' - hash: '0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c' - mixHash: '0x24900fb3da77674a861c428429dce0762707ecb6052325bbd9b3c64e74b5af9d' - parentHash: '0x1f68ac259155e2f38211ddad0f0a15394d55417b185a93923e2abe71bb7a4d6d' - nonce: '0x378da40ff335b070' - sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347' - logsBloom: >- - 0x00000000000000100000004080000000000500000000000000020000100000000800001000000004000001000000000000000800040010000020100000000400000010000000000000000040000000000000040000000000000000000000000000000400002400000000000000000000000000000004000004000000000000840000000800000080010004000000001000000800000000000000000000000000000000000800000000000040000000020000000000000000000800000400000000000000000000000600000400000000002000000000000000000000004000000000000000100000000000000000000000000000000000040000900010000000 - transactionsRoot: '0x4d0c8e91e16bdff538c03211c5c73632ed054d00a7e210c0eb25146c20048126' - stateRoot: '0x91309efa7e42c1f137f31fe9edbe88ae087e6620d0d59031324da3e2f4f93233' - receiptsRoot: '0x68461ab700003503a305083630a8fb8d14927238f0bc8b6b3d246c0c64f21f4a' - miner: '0xb42b6c4a95406c78ff892d270ad20b22642e102d' - difficulty: '0x66e619a' - totalDifficulty: '0x1e875d746ae' - extraData: '0xd583010502846765746885676f312e37856c696e7578' - size: '0x334' - gasLimit: '0x47e7c4' - gasUsed: '0x37993' - timestamp: '0x5835c54d' - uncles: [] - transactions: - - >- - 0xa0807e117a8dd124ab949f460f08c36c72b710188f01609595223b325e58e0fc - - >- - 0xeae6d797af50cb62a596ec3939114d63967c374fa57de9bc0f4e2b576ed6639d - baseFeePerGas: '0x7' - withdrawalsRoot: '0x7a4ecf19774d15cf9c15adf0dd8e8a250c128b26c9e2ab2a08d6c9c8ffbd104f' - withdrawals: - - index: '0x0' - validatorIndex: '0x9d8c0' - address: '0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f' - amount: '0x11a33e3760' - blobGasUsed: '0x0' - excessBlobGas: '0x0' - parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685' - - name: eth_getBlockTransactionCountByHash - description: >- - Returns the number of transactions in a block from a block matching the - given block hash. - params: - - name: Block hash - required: true - description: The hash of the block. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - result: - name: Transaction count - description: The number of transactions in the block as a hexadecimal string. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - title: Transaction count - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_getBlockTransactionCountByHash example - params: - - name: Block hash - value: '0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238' - result: - name: Transaction count - value: '0x8' - - name: eth_getBlockTransactionCountByNumber - description: >- - Returns the number of transactions in a block matching the given block - number. - params: - - name: Block number or tag - required: true - description: >- - The block number or special tags like 'latest', 'earliest', or - 'pending'. - schema: - $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - result: - name: Transaction count - description: The number of transactions in the block as a hexadecimal string. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - title: Transaction count - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_getBlockTransactionCountByNumber example - params: - - name: Block number or tag - value: '0xe8' - result: - name: Transaction count - value: '0x8' - - name: eth_chainId - description: Returns the chain ID of the current network as a hexadecimal string. - params: [] - result: - name: Chain ID - description: The chain ID of the current network in hexadecimal format. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_chainId example - params: [] - result: - name: Chain ID - value: '0x1' - - name: eth_syncing - description: >- - Returns an object with data about the sync status or `false` if not - syncing. - params: [] - result: - name: Syncing status - description: >- - An object with synchronization status data when syncing, or `false` when - not syncing. - schema: - oneOf: - - type: boolean - - $ref: ../_components/evm/client.yaml#/components/schemas/SyncingStatus - examples: - - name: eth_syncing example (syncing) - params: [] - result: - name: Syncing status - value: - startingBlock: '0x0' - currentBlock: '0x1518' - highestBlock: '0x9567a3' - - name: eth_syncing example (not syncing) - params: [] - result: - name: Syncing status - value: false - - name: eth_blockNumber - description: Returns the number of the most recent block. - params: [] - result: - name: Block number - description: >- - The block number of the most recently mined block as a hexadecimal - string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_blockNumber example - params: [] - result: - name: Block number - value: '0x2377' - - name: web3_clientVersion - description: Returns the current client version. - params: [] - result: - name: Client Version - description: A string identifying the client software name, version, and platform. - schema: - title: Client Version - type: string - examples: - - name: web3_clientVersion example - params: [] - result: - name: Client Version - value: Geth/v1.10.8-stable-26675454/linux-amd64/go1.16.6 - - name: net_version - description: Returns the network ID that the client is connected to. - params: [] - result: - name: Network ID - description: >- - The network ID as a string. Common IDs are `"1"` for mainnet, `"3"` for - Ropsten, etc. - schema: - title: Network ID - type: string - examples: - - name: net_version example - params: [] - result: - name: Network ID - value: '1' - - name: eth_call - description: >- - Executes a new message call immediately without creating a transaction on - the blockchain. - params: - - name: Transaction - required: true - description: >- - The transaction call object containing the details of the message - call. - schema: - $ref: >- - ../_components/evm/transaction.yaml#/components/schemas/GenericTransaction - - name: Block - required: false - description: >- - The block number, tag, or hash at which to execute the call. Defaults - to `'latest'` if not provided. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Return data - description: >- - The return value of the executed contract function, encoded as a - hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes - examples: - - name: eth_call example - params: - - name: Transaction - value: - to: '0x69498dd54bd25aa0c886cf1f8b8ae0856d55ff13' - value: '0x1' - - name: Block - value: latest - result: - name: Return data - value: 0x - - name: eth_estimateGas - description: >- - Generates and returns an estimate of how much gas is necessary to allow - the transaction to complete. - params: - - name: Transaction - required: true - description: The transaction object for which to estimate gas usage. - schema: - $ref: >- - ../_components/evm/transaction.yaml#/components/schemas/GenericTransaction - - name: Block - required: false - description: >- - The block number or tag at which to estimate gas usage. Defaults to - `'latest'` if not provided. - schema: - $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - result: - name: Gas used - description: >- - The estimated amount of gas required for the transaction, as a - hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_estimateGas example - params: - - name: Transaction - value: - from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - to: '0x44aa93095d6749a706051658b970b941c72c1d53' - value: '0x1' - result: - name: Gas used - value: '0x5208' - - name: web3_sha3 - description: Returns Keccak-256 (not the standardized SHA3-256) hash of the given data. - params: - - name: Data - required: true - description: The data to hash, encoded as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes - result: - name: Hash - description: The Keccak-256 hash of the input data, as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - examples: - - name: web3_sha3 example - params: - - name: Data - value: '0x68656c6c6f20776f726c64' - result: - name: Hash - value: '0x47173285a8d734ad4162d1b2ca3c6f0d0fabc60b8d702d31fd8e5c98569c36f9' - - name: eth_gasPrice - description: Returns the current price per gas in wei. - params: [] - result: - name: Gas price - description: The current gas price in wei, as a hexadecimal string. - schema: - title: Gas price - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_gasPrice example - params: [] - result: - name: Gas price - value: '0x3e8' - - name: eth_getLogs - description: > - Returns an array of all logs matching the specified filter. - - ### Supported Block Ranges - - Here are the block ranges you're able to submit in a single query, - depending on your plan tier: - - - > ⚠️ Note: All responses will be capped at 150MB. - - - | Chain | Free | Pay As You Go | Enterprise | - - |-------|------|---------------|------------| - - | Ethereum and Layer 2s (Ethereum, Base, Optimism, Arbitrum, Worldchain) | - 500 | unlimited | unlimited | - - | Polygon | 500 | 2000 | unlimited | - - | Monad | 500 | 1000 | 1000 | - - | BSC | 500 | 10000 | 10000 | - - | All Other Chains | 500 | 10000 | unlimited | - params: - - name: Filter - required: true - description: The filter options object to specify the criteria for logs retrieval. - schema: - $ref: ../_components/evm/filter.yaml#/components/schemas/Filter - result: - name: Log objects - description: An array of log objects matching the filter criteria. - schema: - $ref: ../_components/evm/filter.yaml#/components/schemas/FilterResults - examples: - - name: eth_getLogs example - params: - - name: Filter - value: - fromBlock: '0x137d3c2' - toBlock: '0x137d3c3' - address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' - topics: [] - result: - name: Log objects - value: - - logIndex: '0x0' - removed: false - blockNumber: '0x233' - blockHash: >- - 0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5 - transactionHash: >- - 0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d - transactionIndex: '0x0' - address: '0x42699a7612a82f1d9c36148af9c77354759b210b' - data: >- - 0x0000000000000000000000000000000000000000000000000000000000000004 - topics: - - >- - 0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3 - - logIndex: '0x0' - removed: false - blockNumber: '0x238' - blockHash: >- - 0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed - transactionHash: >- - 0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058 - transactionIndex: '0x0' - address: '0x42699a7612a82f1d9c36148af9c77354759b210b' - data: >- - 0x0000000000000000000000000000000000000000000000000000000000000007 - topics: - - >- - 0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3 - - name: eth_getBalance - description: Returns the balance of the account of a given address. - params: - - name: Address - required: true - description: The address of the account to query the balance for. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/address - - name: Block - required: true - description: >- - The block number, tag, or hash at which to retrieve the balance. Can - be a block number, 'latest', 'earliest', 'pending', or a block hash. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Balance - description: The balance of the account in wei, encoded as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_getBalance example - params: - - name: Address - value: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - - name: Block - value: latest - result: - name: Balance - value: '0x1cfe56f3795885980000' - - name: eth_getStorageAt - description: Returns the value from a storage position at a given address. - params: - - name: Address - required: true - description: The address of the contract to read storage from. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/address - - name: Storage slot - required: true - description: >- - The index position of the storage slot to retrieve, as a hexadecimal - string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint256 - - name: Block - required: true - description: The block number, tag, or hash at which to retrieve the storage value. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Value - description: >- - The value stored at the given storage slot, encoded as a hexadecimal - string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes - examples: - - name: eth_getStorageAt example - params: - - name: Address - value: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - - name: Storage slot - value: '0x0' - - name: Block - value: latest - result: - name: Value - value: '0x0000000000000000000000000000000000000000000000000000000000000000' - - name: eth_getTransactionCount - description: Returns the number of transactions sent from an address. - params: - - name: Address - required: true - description: The address of the account to get the transaction count for. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/address - - name: Block - required: true - description: >- - The block number, tag, or hash at which to retrieve the transaction - count. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Transaction count - description: >- - The number of transactions sent from the address, as a hexadecimal - string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - examples: - - name: eth_getTransactionCount example - params: - - name: Address - value: '0xc94770007dda54cF92009BFF0dE90c06F603a09f' - - name: Block - value: latest - result: - name: Transaction count - value: '0x1' - - name: eth_getCode - description: Returns the code at a given address. - params: - - name: Address - required: true - description: The address of the contract to get code from. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/address - - name: Block - required: true - description: The block number, tag, or hash at which to retrieve the code. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Bytecode - description: The code from the specified address, as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes - examples: - - name: eth_getCode example - params: - - name: Address - value: '0xa50a51c09a5c451c52bb714527e1974b686d8e77' - - name: Block - value: latest - result: - name: Bytecode - value: >- - 0x60806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633fa4f2458114604d57806355241077146071575b600080fd5b348015605857600080fd5b50605f6088565b60408051918252519081900360200190f35b348015607c57600080fd5b506086600435608e565b005b60005481565b60008190556040805182815290517f199cd93e851e4c78c437891155e2112093f8f15394aa89dab09e38d6ca0727879181900360200190a1505600a165627a7a723058209d8929142720a69bde2ab3bfa2da6217674b984899b62753979743c0470a2ea70029 - - name: eth_getProof - description: >- - Returns the Merkle proof for a given account and optionally some storage - keys. - params: - - name: Address - required: true - description: The address of the account to generate the proof for. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/address - - name: StorageKeys - required: true - description: An array of storage keys (slots) to generate proofs for. - schema: - title: Storage keys - type: array - items: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytesMax32 - - name: Block - required: true - description: The block number, tag, or hash at which to generate the proof. - schema: - $ref: >- - ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTagOrHash - result: - name: Account proof - description: An object containing the account proof and storage proofs. - schema: - $ref: ../_components/evm/state.yaml#/components/schemas/AccountProof - examples: - - name: eth_getProof example - params: - - name: Address - value: '0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8' - - name: StorageKeys - value: - - >- - 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 - - >- - 0x283s34c8e2b1456f09832c71e5d6a0b4f8c9e1d3a2b5c7f0e6d4a8b2c1f3e5d7 - - name: Block - value: latest - result: - name: Account proof - value: - accountProof: - - >- - 0xf90211a06a718c2c9da77c253b12d7b2569657901e37bb691718f5dda1b86157ab1dd5eda0e7f19ed5e21bccc8d3260236b24f80ad88b3634f5d005f37b838881f0e12f1bda0abb301291704e4d92686c0f5f8ebb1734185321559b8d717ffdca95c99591976a0d0c2026bfab65c3b95276bfa82af9dec860b485f8857f293c148d63a2182128fa0c98044ec9a1273a218bed58b478277dd39173ad7b8edb95c200423a6bc8fc25fa056e5a55d9ddccdbf49362857200bbb1f042d61187c9f5f9ddcff5d2f1fc984a2a02a5b7200af424114f99a4b5f0a21c19aac82209e431ed80bfde177adb1004bdfa0026e4374f0518ff44a80fa374838ecb86cc64ac93bb710fea6dff4198f947b27a03fea341d87984673ad523177ed52f278bf4d8f97e6531c8ece932aeede4802f4a0bfe2f4a7fcb78f7e9f080dea7b6977fb1d88c441696e4456dad92b9d34ff0f43a02a3eb5c0edb14626c9c629601027bd60178bb2b688a67cea4d179fc432436615a0747355b8e02f3b884b4ffe5cea1619e32515fea064cca98208591af8c744e894a0874253737bae37f020ad3bb7e3292c7c4a63cdc158af6b33aaa4deaef016dccba03d8192bc1fc6aa1548912e763a0b5013a94399cefad7b47cf388873b2b794068a09b67f9737c6028d796bfd1c5da57a6f45824dc891f848ea0e1f8019d1fb5fba8a0aa871f9de8da85960fcd8a22cdf21c27f11e3966c14a6737ffd414b98dda00b280 - balance: '0x0' - codeHash: '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' - nonce: '0x0' - storageHash: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421' - storageProof: - - key: >- - 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 - proof: - - >- - 0xf90211a0c87222cccea2bf32759fcee9dbaacbe3ea4165dd6184af6773651c5e00e34a8ba0be90e6e5d1a67ab5587779c60ac136d6a96db62b84c04998a5f03a367346abd6a05344aa1c9ca2e3e56bf98fd718ec43728578d148e1967fbaf8bf17a2a073a0bda011a2f9312c3308640a0d6ceeae218747290f23806067456da1d444c65abae437a0b3097a108bfce79af6699da4ae3003cd4929f0b4576aad655c31cb725bde84c7a0c133d3c637e174f36a73c22b1039eb003da6374bc0929321241badb3efa3c4a9a0f13059f2301ad9862ce02e3f7f3f2c9ab78eb30583764d73654f7f1f8b1e86fda06544e3915748b18204e09df75ff20d2fa6bd8121e2e669699012d54590383d6fa070e3a8e093691581d58fadb560b510262a758037632cd8670d3a36df828976b7a062a88a2900544dc76a32255a6b2b2a2eef8fa68279700c00adc7508286702552a0a474aeebd5603dfce46a6ecd1ecd519068dc034a544fde03ac42d4018e60a334a0b7d528fc41c8fdc8ea18c6e7d0099270c777ec1403cf879d1f5134bdc12a6c6ca04440f1242e42c5bfa7c536591ab89c8e84bea417435871c32eef1e25295b20daa06a5dcfe3cc84cff9d3e3c3ae868cfba8f0dd111a90c3f85869dab5b893f96643a026b2fb9dd7d08b0ed2f1c44fbf875011412a384f86f751c92e1013248d4aa371a0c75597b2b789fc4e939b71937390ce9d7d53159431328ac52180eef08ef200f280 - value: '0x1' - - name: eth_sendRawTransaction - summary: Submits a raw transaction to the network. - description: > - Submits a raw transaction (serialized and signed) for broadcasting to the - network. The transaction data should be encoded as a hexadecimal string - starting with `0x`. You can create and sign a transaction externally using - libraries like [web3.js](https://web3js.readthedocs.io/) or - [ethers.js](https://docs.ethers.org/). - - - **Note:** For [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) - transactions, the raw form must be in the network format, which includes - blobs, KZG commitments, and KZG proofs. - params: - - name: Transaction - required: true - description: The raw transaction data to submit, encoded as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/bytes - result: - name: Transaction hash - description: The hash of the submitted transaction, as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - examples: - - name: eth_sendRawTransaction example - params: - - name: Transaction - value: >- - 0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833 - result: - name: Transaction hash - value: '0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331' - - name: eth_getTransactionByHash - description: Returns information about a transaction requested by transaction hash. - params: - - name: Transaction hash - required: true - description: The hash of the transaction to retrieve. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - result: - name: Transaction information - description: The transaction object containing various properties of the transaction. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: >- - ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo - examples: - - name: eth_getTransactionByHash example - params: - - name: Transaction hash - value: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' - result: - name: Transaction information - value: - blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' - blockNumber: '0x422' - chainId: '0x7e2' - from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - gas: '0x5208' - gasPrice: '0x3b9aca00' - hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' - input: 0x - nonce: '0x1' - to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' - transactionIndex: '0x0' - value: '0x4e1003b28d9280000' - v: '0x1c' - r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' - s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - - name: eth_getTransactionByBlockHashAndIndex - description: >- - Returns information about a transaction by block hash and transaction - index position. - params: - - name: Block hash - required: true - description: The hash of the block containing the transaction. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - - name: Transaction index - required: true - description: >- - The index position of the transaction in the block's transaction list, - as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - result: - name: Transaction information - description: The transaction object containing various properties of the transaction. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: >- - ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo - examples: - - name: eth_getTransactionByBlockHashAndIndex example - params: - - name: Block hash - value: '0xbf137c3a7a1ebdfac21252765e5d7f40d115c2757e4a4abee929be88c624fdb7' - - name: Transaction index - value: '0x2' - result: - name: Transaction information - value: - blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' - blockNumber: '0x422' - chainId: '0x7e2' - from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - gas: '0x5208' - gasPrice: '0x3b9aca00' - hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' - input: 0x - nonce: '0x1' - to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' - transactionIndex: '0x2' - value: '0x4e1003b28d9280000' - v: '0x1c' - r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' - s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - - name: eth_getTransactionByBlockNumberAndIndex - description: >- - Returns information about a transaction by block number and transaction - index position. - params: - - name: Block - required: true - description: >- - The block number or tag ('latest', 'earliest', 'pending') containing - the transaction. - schema: - $ref: ../_components/evm/block.yaml#/components/schemas/BlockNumberOrTag - - name: Transaction index - required: true - description: >- - The index position of the transaction in the block's transaction list, - as a hexadecimal string. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/uint - result: - name: Transaction information - description: The transaction object containing various properties of the transaction. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: >- - ../_components/evm/transaction.yaml#/components/schemas/TransactionInfo - examples: - - name: eth_getTransactionByBlockNumberAndIndex example - params: - - name: Block - value: '0x1442e' - - name: Transaction index - value: '0x2' - result: - name: Transaction information - value: - blockHash: '0x510efccf44a192e6e34bcb439a1947e24b86244280762cbb006858c237093fda' - blockNumber: '0x1442e' - chainId: '0x7e2' - from: '0xfe3b557e8fb62b89f4916b721be55ceb828dbd73' - gas: '0x5208' - gasPrice: '0x3b9aca00' - hash: '0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44' - input: 0x - nonce: '0x1' - to: '0x627306090abab3a6e1400e9345bc60c78a8bef57' - transactionIndex: '0x2' - value: '0x4e1003b28d9280000' - v: '0x1c' - r: '0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3' - s: '0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9' - - name: eth_getTransactionReceipt - description: Returns the receipt of a transaction by transaction hash. - params: - - name: Transaction hash - required: true - description: The hash of the transaction for which to get the receipt. - schema: - $ref: ../_components/evm/base-types.yaml#/components/schemas/hash32 - result: - name: Receipt information - description: >- - The transaction receipt object containing various properties of the - transaction receipt. - schema: - oneOf: - - $ref: ../_components/evm/base-types.yaml#/components/schemas/notFound - - $ref: ../_components/evm/receipt.yaml#/components/schemas/ReceiptInfo - examples: - - name: eth_getTransactionReceipt example - params: - - name: Transaction hash - value: '0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f' - result: - name: Receipt information - value: - blockHash: '0xe7212a92cfb9b06addc80dec2a0dfae9ea94fd344efeb157c41e12994fcad60a' - blockNumber: '0x50' - contractAddress: null - cumulativeGasUsed: '0x5208' - from: '0x627306090abab3a6e1400e9345bc60c78a8bef57' - gasUsed: '0x5208' - effectiveGasPrice: '0x1' - logs: [] - logsBloom: >- - 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - status: '0x1' - to: '0xf17f52151ebef6c7334fad080c5704d77216b732' - transactionHash: '0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f' - transactionIndex: '0x0' - type: '0x0' + - $ref: ../_components/evm/methods.yaml#/components/methods/net_version + - $ref: ../_components/evm/methods.yaml#/components/methods/web3_clientVersion + - $ref: ../_components/evm/methods.yaml#/components/methods/web3_sha3 From c00993c9a80cbfc3b3cd4d3eab453f35688afc81 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Wed, 20 Aug 2025 13:17:27 -0400 Subject: [PATCH 03/12] feat: update spec for mantle From 486d44809a9cbfbe74bc883df66757985a713948 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:24:15 -0400 Subject: [PATCH 04/12] feat: update spec for mantle From 73145c142d9894b6302d350d5abae40493103c16 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:25:41 -0400 Subject: [PATCH 05/12] feat: update spec for mantle From eb216b0c61ea1aaed5b614af8ae88b24e558a9fb Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:56:23 -0400 Subject: [PATCH 06/12] feat: update spec for mantle From 4eb8a2dfd9cde0387b31cac0c8570d8040b26dfb Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:57:50 -0400 Subject: [PATCH 07/12] feat: update spec for mantle From f095a6100e8e28e4826203dc436ef2a52e110648 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:58:55 -0400 Subject: [PATCH 08/12] feat: update spec for mantle From e1d51c726f5a8172c28194840338d53cfdfd3f90 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:59:39 -0400 Subject: [PATCH 09/12] feat: update spec for mantle --- src/openrpc/chains/mantle/mantle.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openrpc/chains/mantle/mantle.yaml b/src/openrpc/chains/mantle/mantle.yaml index 824334c47..ab82208b8 100644 --- a/src/openrpc/chains/mantle/mantle.yaml +++ b/src/openrpc/chains/mantle/mantle.yaml @@ -57,8 +57,6 @@ methods: - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newBlockFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransaction - - $ref: >- - ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransactionSync - $ref: ../_components/evm/methods.yaml#/components/methods/eth_submitWork - $ref: ../_components/evm/methods.yaml#/components/methods/eth_subscribe - $ref: ../_components/evm/methods.yaml#/components/methods/eth_uninstallFilter From 4b411a08df77895ff1a56dd66dadf7d32831da34 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 22 Aug 2025 17:10:15 -0400 Subject: [PATCH 10/12] feat: update spec for mantle From 1fb7e098694b1e39a1efdc13df613789d714be69 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Mon, 25 Aug 2025 19:39:25 -0400 Subject: [PATCH 11/12] feat(specs): update spec for mantle --- src/openrpc/chains/mantle/mantle.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrpc/chains/mantle/mantle.yaml b/src/openrpc/chains/mantle/mantle.yaml index ab82208b8..824334c47 100644 --- a/src/openrpc/chains/mantle/mantle.yaml +++ b/src/openrpc/chains/mantle/mantle.yaml @@ -57,6 +57,8 @@ methods: - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newBlockFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newFilter - $ref: ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransaction + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransactionSync - $ref: ../_components/evm/methods.yaml#/components/methods/eth_submitWork - $ref: ../_components/evm/methods.yaml#/components/methods/eth_subscribe - $ref: ../_components/evm/methods.yaml#/components/methods/eth_uninstallFilter From 741c192b6f503a7effc0db0f70511f9ea7f66873 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Tue, 26 Aug 2025 14:16:26 -0400 Subject: [PATCH 12/12] feat(specs): update spec for mantle