verifyHistory
verifyHistory(
catalogBytes,signature,pinnedKeys,appId,historyBytes,options?):Promise<HistoryVerification>
Defined in: zaun/js/index.d.ts:304
Verifies the catalog, then history/<appId>.json against the hash it lists.
Parameters
Section titled “Parameters”catalogBytes
Section titled “catalogBytes”Bytes
signature
Section titled “signature”string | Uint8Array<ArrayBufferLike>
pinnedKeys
Section titled “pinnedKeys”string | string[]
string
historyBytes
Section titled “historyBytes”Bytes
options?
Section titled “options?”number | Date
Returns
Section titled “Returns”Promise<HistoryVerification>