serialNumbers

Description

Returns details of specific blocks within a range of heights from Aleo blockchain.

1000 blocks can be queried at maximum in a single request.

Method Parameters

  • params - Object:

    • serialNumbers - Array<string>: An array of serial numbers field aleo objects as strings to retrieve information for.

Returns

  • result - Array<Object>: An array of objects containing details for each record corresponding to input serial numbers.

    • Record detail object:

      • serial_number - string: The serial number of the record.

      • program_id - string: The ID of the program that generated the record.

      • block_id - number: The height of the block containing the record.

      • height - string: The block height where the record was produced.

      • timestamp - string: The timestamp when the record was created.

      • transaction_id - string: The transaction ID that generated the record.

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

Example

Request

Response

Last updated