Output config for send/swap operations.
Defines types for sent and kept proofs.
send
keep
const config: OutputConfig = { send: { type: 'random', denominations: [1, 2] }, keep: { type: 'deterministic', counter: 0 }, }; await wallet.send(3, proofs, config, { includeFees: true }); Copy
const config: OutputConfig = { send: { type: 'random', denominations: [1, 2] }, keep: { type: 'deterministic', counter: 0 }, }; await wallet.send(3, proofs, config, { includeFees: true });
Optional
Output config for send/swap operations.
Remarks
Defines types for sent and kept proofs.
send: Required for recipient proofs.keep: Optional; defaults to wallet defaultOutputType policy.Example