getblock
POST
/{apiKey}
Returns information about a block, based on the provided block hash.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^[a-fA-F0-9]{64}$"requiredThe hash of the block to retrieve.
enumoptionaldefaults to
1Level of detail to return. - 0: hex-encoded string, - 1: basic block info, - 2: with transactions, - 3: with transactions + input prevouts.
Defaults to 1.
Allowed values:
Responses
200
The block object or hex string, depending on verbosity.
Was this page helpful?