eth_getBlockByNumberCopy Pagepost https://eth-mainnet.nodereal.io/v1/{apiKey}Returns information about a block by block number.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamsapiKeystringrequiredDefaults to 1659dfb40aa24bbb8153a677b98064d7Body ParamsidintegerDefaults to 1jsonrpcstringDefaults to 2.0methodstringDefaults to eth_getBlockByNumberparamsarraylength between 2 and 2 String - Either the hex value of a block number OR One of the following block tags: pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet. latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions. safe - The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is “unlikely” to be re-orged. Only available on Ethereum Mainnet and Goerli. finalized - The most recent crypto-economically secure block, that has been accepted by >2/3 of validators. Cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is very unlikely to be re-orged. Only available on Ethereum Mainnet and Goerli. earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created. Boolean - If true it returns the full transaction objects, if false only the hashes of the transactions. Defaults to false. params block number or block tag | Full transaction objectsblock number or block tagFull transaction objectsString - Either the hex value of a block number OR block tags: block number (in hex) OR block tag (one of the following): * pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet. * latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions. * safe - The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is “unlikely” to be re-orged. Only available on Ethereum Mainnet and Goerli. * finalized - The most recent crypto-economically secure block, that has been accepted by >2/3 of validators. Cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is very unlikely to be re-orged. Only available on Ethereum Mainnet and Goerli. * earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created. block number or block tag | Full transaction objectsblock number or block tagFull transaction objectsString - Either the hex value of a block number OR block tags: block number (in hex) OR block tag (one of the following): * pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet. * latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions. * safe - The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is “unlikely” to be re-orged. Only available on Ethereum Mainnet and Goerli. * finalized - The most recent crypto-economically secure block, that has been accepted by >2/3 of validators. Cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is very unlikely to be re-orged. Only available on Ethereum Mainnet and Goerli. * earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created. Response 200Returns a block object with the following fields, or null when no block was found.Updated 7 months ago