function · Browser and Node
exportBundle
Everything needed to verify an AID's logs offline: KEL (all versions, so recoveries show), trails with receipts and endorsements,
the disclosed bodies, and DID bindings. bodies takes body SAIDs, or entry numbers per trail.
@toip-tools/eventlogView sourceimport { exportBundle } from "@toip-tools/eventlog";
Declaration
exportBundle(store: LogStore, aid: Qb64, opts?: {
trails?: Qb64[];
bodies?: "all" | "none" | Qb64[];
entries?: Record<Qb64, number[]>;
}): Promise<Bundle>;
Parameters
storerequiredLogStoreaidrequiredstring
Returns
Promise<Bundle>