Get Block

Get the block for the given block height or block hash.

ENDPOINT

GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/block/{height_or_hash}

Arguments

ParameterTypeRequestDescription

height or hash

u32 or string

Yes

The block height or hash of the requested block

Response

ParametertypeDescription

result

The latest state root

Request

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/block/1000

Last updated