Get Blocks

Get the blocks for the given block range.

ENDPOINT

GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/blocks?start={start_height}&end={end_height}

Arguments

Parameter
Type
Request
Description

start_height

u32

Yes

The starting block height of the requested blocks

end_height

u32

Yes

The ending block height of the requested blocks

Response

Parameter
type
Description

result

The latest state root

Request

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/blocks?start_height=1000&end_height=1005

Last updated