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

    Interface PathSelection

    Result of path selection, including the tapleaf to use and any extra witness data.

    interface PathSelection {
        extraWitness?: Bytes[];
        leaf: TapLeafScript;
        sequence?: number;
    }
    Index

    Properties

    extraWitness?: Bytes[]

    Additional witness elements, for example a preimage for HTLC-like paths.

    Tapleaf script to use for spending.

    sequence?: number

    nSequence for the spending input, BIP-68 encoded when the leaf uses CSV. Decode with sequenceToTimelock; do NOT use as an absolute Transaction.lockTime.