Skip to content

Get Block

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

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

Arguments

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

Response

Parameter Type Description
result object The requested block