Skip to main content

signRegistryTransition

@totemsdk/liquidity-bond


@totemsdk/liquidity-bond / signRegistryTransition

Function: signRegistryTransition()

signRegistryTransition(registry, op, signer, opts?): Promise<RegistrySignedTransition>

Sign a registry transition: binds the resulting state (via root), the mutation (op), and the prior anchor (previousRoot) into one signed record.

Parameters

registry

LiquidityBondRegistryState

op

RegistryOperation

signer

RegistryTransitionSigner

opts?

RegistryRootOptions

Returns

Promise<RegistrySignedTransition>