• Send locked funds to a recipient.

    Returns

    The hash of the submitted transaction.

    Throws

    If options.validate is true and the lock has expired.

    Throws

    If options.validate is true and the sender does not have the send capability.

    Throws

    If options.validate is true and the recipient is not configured on the lock.

    Throws

    If options.validate is true and the source account does not have enough of the token locked in the lock.

    Parameters

    • lock: Lock

      The lock controlling the funds.

    • sender: AccountAddress

      The sender account that submits the transaction.

    • details: SendDetails

      The operation details excluding the lock id.

    • signer: AccountSigner

      The signer used to sign the transaction.

    • Optional metadata: LockUpdateMetadata

      Optional transaction metadata such as expiry and nonce.

    • options: LockOperationOptions = {}

      Optional validation behavior.

    Returns Promise<Type>

Generated using TypeDoc