hashes: { hashAccountRoot: (address: string) => string; hashEscrow: (address: string, sequence: number) => string; hashLedger: ( ledger: LedgerVersionMap<APIVersion>, options?: { computeTreeHashes?: boolean }, ) => string; hashLedgerHeader: (ledgerHeader: LedgerVersionMap<APIVersion>) => string; hashOfferId: (address: string, sequence: number) => string; hashPaymentChannel: ( address: string, dstAddress: string, sequence: number, ) => string; hashSignedTx: (tx: string | Transaction) => string; hashSignerListId: (address: string) => string; hashStateTree: (entries: LedgerEntry.LedgerEntry[]) => string; hashTrustline: ( address1: string, address2: string, currency: string, ) => string; hashTx: (txBlobHex: string) => string; hashTxTree: ( transactions: (
Transaction & { metaData?: TransactionMetadata | undefined
} )
[], ) => string;} = ... Type declaration
hashAccountRoot: (address: string) => string
hashEscrow: (address: string, sequence: number) => string
hashLedger: (
ledger: LedgerVersionMap<APIVersion>,
options?: { computeTreeHashes?: boolean },
) => string
hashLedgerHeader: (ledgerHeader: LedgerVersionMap<APIVersion>) => string
hashOfferId: (address: string, sequence: number) => string
hashPaymentChannel: (address: string, dstAddress: string, sequence: number) => string
hashSignedTx: (tx: string | Transaction) => string
hashSignerListId: (address: string) => string
hashTrustline: (address1: string, address2: string, currency: string) => string
hashTx: (txBlobHex: string) => string
hashTxTree: (
transactions: (
Transaction & { metaData?: TransactionMetadata | undefined }
)[],
) => string