Skip to content

Get an array of record ownerships at the specified height range

Retrieves an array of object containing minimum information needed to determine the ownership of a record at the specified block height range.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/record/ownership/height?start={block_height}&end={block_height}
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/record/ownership/height?start={block_height}&end={block_height}

Query parameters

Parameter Type Required Description
start number Yes The height of the first block whose ownership information are requested. Should be a nonnegative integer
end number Yes The height of the last block whose ownership information are requested. Should be a nonnegative integer. End is inclusive.

Response

Parameter Type Description
result Array<({ nonce_x: string, nonce_y: string, owner_x: string, transition_id: string })> The minimum information needed to determine the ownership of the records at the given height range