Appearance
eth_getBlockByHash
served · same as reth
Returns a block by its hash, with transaction hashes or full transactions.
When to use
Use it when you have a block hash, for example from a log or a receipt.
Example
bash
curl -s -X POST -H 'Content-Type: application/json' \
--data '{"jsonrpc": "2.0", "id": 1, "method": "eth_getBlockByHash", "params": ["0x88392e71b7c4893c80cadfdeadcbaa91add6a41a1a9e2bda3aef6774053617a5", false]}' \
http://127.0.0.1:8547json
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockByHash",
"params": [
"0x88392e71b7c4893c80cadfdeadcbaa91add6a41a1a9e2bda3aef6774053617a5",
false
]
}Response
Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hash": "0x88392e71b7c4893c80cadfdeadcbaa91add6a41a1a9e2bda3aef6774053617a5",
"parentHash": "0x05b521e7eb3efcbdbe7082cfdfc5ce1c3275fd597611a866d3fae4241debc251",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",
"stateRoot": "0x26e239000c719435e8d9bc3f995bbf83d710c6203c9f8c4cf58f75279322f1cd",
"transactionsRoot": "0x11189d9facb85bca3cb26e818541f001d5172bb71244b33f98a7d241f22fe6f0",
"receiptsRoot": "0x0dda7fb25a204be283f3e11465284e25b94ecdd901e1b361c282bf96d6bf5878",
"logsBloom": "0xb5fbccf60fdf3fd3f74b9fbd9fedb0f9d9fe8de9f4243732afdfdffeff3baaaf3dddb3bff9bf4c55cbbfffdfe76fff67c7bbd274df37afeff5eae79ed7bf1edb9f6fb8b26dff7ffdffdafff9f9dfd7effad6bfbe57fdfdf1b2ad7f4dac7fd2b15e73e59fbeecfbfa675fdaefe938fa0fa77be6befcbb7e9f9ff17c56535faf6fafebbffe7dd859bdffcaaed757f3e30ff23568efb7bdfe9febbb5e7efbbdf3bc77f5eeefdbbfe6db76f3efdefd347cebeff2fbfff98b671bf6fdbefef6d9ff7eefd09eaff3d8dd... 114 more characters",
"difficulty": "0x0",
"number": "0x18facad",
"gasLimit": "0x3938700",
"gasUsed": "0x22fa2ac",
"timestamp": "0x6acfe2e7",
"extraData": "0x546974616e2028746974616e6275696c6465722e78797a29",
"mixHash": "0x63c41f1e111838bf6f2e0bfd8a43702b5e6ed5e9bf7e6297788dda919e4f485f",
"nonce": "0x0000000000000000",
"baseFeePerGas": "0xad66c85",
"withdrawalsRoot": "0x9f3e8bd85ab2fbdd5a24bbedaa86e3c724ac34a04b2b600e8c26e9180bcc7dbe",
"blobGasUsed": "0x80000",
"excessBlobGas": "0xb3f8df3",
"parentBeaconBlockRoot": "0xa2e810d10e3010fc05cc11fe6e2f505f0deb98ce1181433a48328e345c4d726c",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"size": "0x3136b",
"uncles": [],
"transactions": [
"0xa457d1d714f7c63b99f3846b390c13ae45d5f41952cc657d369b439b8fc8fa16",
"0x7db02c51771feb12586d96464f95317dc6411bb3fae4604a9c3ce7fd7d5c45d2",
"0x2c4c369da2542319a0124d03060c392a3257092b2c085a5a869f5e2e0342e2d0",
"... 234 more items"
],
"withdrawals": [
{
"index": "0x8bbddbb",
"validatorIndex": "0xba986",
"address": "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f",
"amount": "0x8617de"
},
{
"index": "0x8bbddbc",
"validatorIndex": "0xba987",
"address": "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f",
"amount": "0x39b31a0"
},
{
"index": "0x8bbddbd",
"validatorIndex": "0xba988",
"address": "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f",
"amount": "0x865778"
},
"... 13 more items"
]
}
}Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
blockHash | 32-byte hash | yes | The hash of the block. |
fullTransactions | boolean | yes | true returns full transaction objects. false returns transaction hashes only. Cinder takes a missing value as false. |
Returns
The block, or null when the hash is unknown or not on the canonical chain. See Block.
Errors
| Code | Message | When |
|---|---|---|
| -32602 | Invalid params | A parameter is missing or does not parse. data has the text of reth, with the position. |
Compared with reth
The live example above gives the same answer on Cinder and on reth 2.7.
Related methods
eth_getBlockByNumber, eth_getHeaderByHash.
Schema (OpenRPC)
The official specification: eth_getBlockByHash in ethereum/execution-apis.
Parameter Block hash: string
json
{
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
}Parameter Hydrated transactions: boolean
json
{
"title": "hydrated",
"type": "boolean"
}Result: Not Found (null) or Block object
json
{
"oneOf": [
{
"title": "Not Found (null)",
"type": "null"
},
{
"properties": {
"baseFeePerGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Base fee per gas",
"type": "string"
},
"blobGasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Blob gas used",
"type": "string"
},
"blockAccessListHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "EIP-7928 block access list hash",
"type": "string"
},
"difficulty": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Difficulty",
"type": "string"
},
"excessBlobGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Excess blob gas",
"type": "string"
},
"extraData": {
"pattern": "^0x[0-9a-f]*$",
"title": "Extra data",
"type": "string"
},
"gasLimit": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Gas limit",
"type": "string"
},
"gasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Gas used",
"type": "string"
},
"hash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Hash",
"type": "string"
},
"logsBloom": {
"pattern": "^0x[0-9a-f]{512}$",
"title": "Bloom filter",
"type": "string"
},
"miner": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Coinbase",
"type": "string"
},
"mixHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Mix hash",
"type": "string"
},
"nonce": {
"pattern": "^0x[0-9a-f]{16}$",
"title": "Nonce",
"type": "string"
},
"number": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Number",
"type": "string"
},
"parentBeaconBlockRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Parent Beacon Block Root",
"type": "string"
},
"parentHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Parent block hash",
"type": "string"
},
"receiptsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Receipts root",
"type": "string"
},
"requestsHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "EIP-7685 requests hash",
"type": "string"
},
"sha3Uncles": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Ommers hash",
"type": "string"
},
"size": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Block size",
"type": "string"
},
"stateRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "State root",
"type": "string"
},
"timestamp": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Timestamp",
"type": "string"
},
"transactions": {
"anyOf": [
{
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "Transaction hashes",
"type": "array"
},
{
"items": {
"oneOf": [
{
"properties": {
"accessList": {
"description": "EIP-2930 access lists",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"authorizationList": {
"description": "List of authorizations for the transaction",
"items": {
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"chainId": {
"description": "Chain ID on which this transaction is valid",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "s",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"chainId",
"nonce",
"address",
"yParity",
"r",
"s"
],
"type": "object"
},
"title": "authorizationList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "to address",
"type": "string"
},
"type": {
"pattern": "^0x4$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"authorizationList",
"chainId",
"gas",
"input",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"to",
"type",
"value",
"yParity"
],
"title": "Signed 7702 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"blobVersionedHashes": {
"description": "List of versioned blob hashes associated with the transaction's EIP-4844 data blobs",
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "blobVersionedHashes",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerBlobGas": {
"description": "The maximum total fee per gas the sender is willing to pay for blob gas in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per blob gas",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "to address",
"type": "string"
},
"type": {
"pattern": "^0x3$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"blobVersionedHashes",
"chainId",
"gas",
"input",
"maxFeePerBlobGas",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"to",
"type",
"value",
"yParity"
],
"title": "Signed 4844 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x2$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"chainId",
"gas",
"gasPrice",
"input",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"type",
"value",
"yParity"
],
"title": "Signed 1559 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x1$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"chainId",
"gas",
"gasPrice",
"input",
"nonce",
"r",
"s",
"type",
"value",
"yParity"
],
"title": "Signed 2930 Transaction",
"type": "object"
},
{
"properties": {
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x0$",
"title": "type",
"type": "string"
},
"v": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
}
},
"required": [
"gas",
"gasPrice",
"input",
"nonce",
"r",
"s",
"type",
"v",
"value"
],
"title": "Signed Legacy Transaction",
"type": "object"
}
],
"properties": {
"blockHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "block hash",
"type": "string"
},
"blockNumber": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block number",
"type": "string"
},
"blockTimestamp": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block timestamp",
"type": "string"
},
"from": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "from address",
"type": "string"
},
"hash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "transaction hash",
"type": "string"
},
"transactionIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "transaction index",
"type": "string"
}
},
"required": [
"blockHash",
"blockNumber",
"blockTimestamp",
"from",
"hash",
"transactionIndex"
],
"title": "Transaction information",
"type": "object"
},
"title": "Full transactions",
"type": "array"
}
]
},
"transactionsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Transactions root",
"type": "string"
},
"uncles": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "Uncles",
"type": "array"
},
"withdrawals": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "recipient address for withdrawal value",
"type": "string"
},
"amount": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "value contained in withdrawal",
"type": "string"
},
"index": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of withdrawal",
"type": "string"
},
"validatorIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of validator that generated withdrawal",
"type": "string"
}
},
"required": [
"index",
"validatorIndex",
"address",
"amount"
],
"title": "Validator withdrawal",
"type": "object"
},
"title": "Withdrawals",
"type": "array"
},
"withdrawalsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Withdrawals root",
"type": "string"
}
},
"required": [
"hash",
"parentHash",
"sha3Uncles",
"miner",
"stateRoot",
"transactionsRoot",
"receiptsRoot",
"logsBloom",
"number",
"gasLimit",
"gasUsed",
"timestamp",
"extraData",
"mixHash",
"nonce",
"size",
"transactions",
"uncles"
],
"title": "Block object",
"type": "object"
}
]
}