Skip to content

Get Blocks By Heights List

ENDPOINT
GET https://aleo-testnet3.obscura.network/api/<API_KEY>/blocks/blockHeights

Returns the blocks for the given heights list. Only valid heights will return blocks, so the amount of blocks returned might not match the amount of blocks requested.

Body

Type Required Description
array Yes The heights of the requested blocks. Must be of maximum length 1000 and consist of non-negative integers

Response

Parameter Type Description
result array The requested blocks