SwapTransaction
@cashu/cashu-ts / SwapTransaction
Type Alias: SwapTransaction
SwapTransaction =
object
Defined in: cashu-ts/src/model/types/wallet/payloads.ts:129
includes all data required to swap inputs for outputs and construct proofs from them.
Properties
keepVector
keepVector:
boolean
[]
Defined in: cashu-ts/src/model/types/wallet/payloads.ts:141
list of booleans to determine which proofs to keep
outputData
outputData:
OutputData
[]
Defined in: cashu-ts/src/model/types/wallet/payloads.ts:137
blinding data required to construct proofs
payload
payload:
SwapPayload
Defined in: cashu-ts/src/model/types/wallet/payloads.ts:133
payload that will be sent to the mint for a swap
sortedIndices
sortedIndices:
number
[]
Defined in: cashu-ts/src/model/types/wallet/payloads.ts:145
indices that can be used to restore original output data