records/all

Fetches all records generated within a range of blocks from the server.

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 objects produced within the specified block range.

    • Record object:

      • record_ciphertext - string: The ciphertext 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 - number: The block height where the record was produced.

      • id - number: Unique identifier for the record.

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

      • block_hash - string: The hash of the block containing the record.

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

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

      • function_name - string: The name of the function executed in the transition.

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

Example

Request

Response

Last updated