Skip to content
Français

inspectStorageReservations

import { inspectStorageReservations } from "@elie-laloum/outpost/recovery";

Read and validate a Transport reservation ledger, returning its revision and entries with available owner metadata. An absent ledger returns no revision and no entries; legacy entries retain their byte count without inventing an owner. This operation makes no liveness decision and changes nothing.

Complete example and detailed rules.

  • transporterRequired
    Transport
    Transport holding the reservations/ledger object; the caller owns its lifetime.

Promise<StorageReservationInspection>

export declare function inspectStorageReservations(
  transporter: Transport,
): Promise<StorageReservationInspection>;