eth_getBlockByHash - Xlayer

Xlayer API - Returns information about a block by hash.

Path Params
string
required
Body Params
string
required
Defaults to 2.0
string
enum
required
Defaults to eth_getBlockByNumber
Allowed:
params
array
required
length between 0 and 2

Parameters array that varies by method. Can be empty array [], single string ["latest"], or array with string and boolean ["hash", true]

params*
int32
required
Defaults to 0
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json