@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Function completeUnroll

    • Complete the unroll of a VTXO by broadcasting the transaction that spends the CSV path.

      Parameters

      • wallet: Wallet

        the wallet owning the VTXO(s)

      • vtxoTxids: string[]

        the txids of the VTXO(s) to complete unroll

      • outputAddress: string

        the address to send the unrolled funds to

      Returns Promise<string>

      the txid of the transaction spending the unrolled funds

      if the VTXO(s) are not fully unrolled, if the txids are not found, if the tx is not confirmed, if no exit path is found or not available