Skip to main content

computeLiquidityReceiptHash

@totemsdk/liquidity-bond


@totemsdk/liquidity-bond / computeLiquidityReceiptHash

Function: computeLiquidityReceiptHash()

computeLiquidityReceiptHash(receipt): string

Domain-separated receipt hash (#33): scoped to the receipt domain so a hash computed over one record cannot replay against another.

Parameters

receipt

LiquidityReceipt

Returns

string