Skip to content

Get Height

Returns the height for the given block hash.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/mainnet/height/{blockHash}
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/testnet/height/{blockHash}

Arguments

Parameter Type Required Description
blockHash string Yes The hash of the requested block height

Response

Parameter Type Description
result u32 The requested block height