records/isOwner

Retrieves ownership information for records within a given block range on the Aleo blockchain. This provides the minimal information needed to verify ownership of a record.

Method Parameters

  • params - Object:

    • start - number: Start block height of desired range (incuded).

    • end - number: End block height of desired range (excuded).

    • page (optional, default: 0) - number: Page number to get.

    • recordsPerRequest (optional, default: 10000) - number: Maximum amount of records returned by the request

Returns

  • result - Array<Object>: An array of record ownership details objects within the specified block range.

    • Ownership record object:

      • nonce_x - string: The x-coordinate of the nonce group element of the record.

      • nonce_y - string: The y-coordinate of the nonce of record.

      • owner_x - string: The x-coordinate of the multiplication of owner view key scalar and record nonce group element.

      • transition_id - string: The transition ID that generated the record.

      • output_index - number: The index of the output within the transition.

Example

Request

Response

Last updated