eth_getBlockByNumberAsk AIpost https://api.zan.top/node/v1/chainbase/testnet/{apiKey}Returns information about a block by block number.Path ParamsapiKeystringrequiredDefaults to public .custom-style { color: #048FF4; } For higher throughput, please create your own API key.Body ParamsidintegerDefaults to 1jsonrpcstringDefaults to 2.0methodstringDefaults to eth_getBlockByNumberparamsarraylength between 2 and 2Defaults to 0x5BAD55,false BLOCK PARAMETER - 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. earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created. SHOW TRANSACTION DETAILS FLAG - Boolean - if set to true, it returns the full transaction objects, if false only the hashes of the transactions. Defaults to false. params BLOCK PARAMETER | SHOW TRANSACTION DETAILS FLAGBLOCK PARAMETERSHOW TRANSACTION DETAILS FLAG BLOCK PARAMETER | SHOW TRANSACTION DETAILS FLAGBLOCK PARAMETERSHOW TRANSACTION DETAILS FLAGResponse 200Returns information about a block by block number, or null when no block was found.Updated 4 months ago