Type Alias SwapTransaction

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

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

Type declaration

  • 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