@cashu/cashu-ts
    Preparing search index...

    Type Alias SwapTransaction

    Includes all data required to swap inputs for outputs and construct proofs from them.

    type SwapTransaction = {
        keepVector: boolean[];
        outputData: OutputData[];
        payload: SwapPayload;
        sortedIndices: number[];
    }
    Index

    Properties

    keepVector: boolean[]

    List of booleans to determine which proofs to keep.

    outputData: OutputData[]

    Blinding data required to construct proofs.

    payload: SwapPayload

    Payload that will be sent to the mint for a swap.

    sortedIndices: number[]

    Indices that can be used to restore original output data.