eth_getBlockByHash - XlayerAsk AIpost https://xlayer-mainnet.unifra.io/v1/{your-api-key-for-blocks}Xlayer API - Returns information about a block by hash.Path Paramsyour-api-key-for-blocksstringrequiredBody ParamsjsonrpcstringrequiredDefaults to 2.0methodstringenumrequiredDefaults to eth_getBlockByNumbereth_getBlockByNumbereth_getBlockByHasheth_blockNumbereth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumberAllowed:eth_getBlockByNumbereth_getBlockByHasheth_blockNumbereth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumberparamsarrayrequiredlength between 0 and 2Parameters array that varies by method. Can be empty array [], single string ["latest"], or array with string and boolean ["hash", true]params*ADD string | booleanidint32requiredDefaults to 0Response 200OKUpdated 7 months ago