You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hashLedger.d.ts 683B

1234567891011121314
  1. import type { Ledger } from '../../models/ledger';
  2. import { LedgerEntry } from '../../models/ledger';
  3. import { Transaction, TransactionMetadata } from '../../models/transactions';
  4. export declare function hashSignedTx(tx: Transaction | string): string;
  5. export declare function hashLedgerHeader(ledgerHeader: Ledger): string;
  6. export declare function hashTxTree(transactions: Array<Transaction & {
  7. metaData?: TransactionMetadata;
  8. }>): string;
  9. export declare function hashStateTree(entries: LedgerEntry[]): string;
  10. declare function hashLedger(ledger: Ledger, options?: {
  11. computeTreeHashes?: boolean;
  12. }): string;
  13. export default hashLedger;
  14. //# sourceMappingURL=hashLedger.d.ts.map