Optional
add_change_to_txfee_when_bch_change_is_dust?: booleanOptional
allow_mixing_native_and_token?: booleanWhen true the change output may contain the remaining bch & tokens in a single output. Warning: Not all wallets know how to get access to mixed outputs, Set this to true only if you know what you're doing.
Optional
allow_mixing_native_and_token_when_bch_change_is_dust?: booleanWhen true the bch change output will be mixed by a token output if bch change is considered as dust output.
Optional
generateChangeLockingBytecodeForOutput?: (output: Output) => Uint8ArrayGenerate a locking_bytecode for a change output.
Optional
locking_bytecode?: Uint8ArrayThe value defines the locking_bytecode of the generated outputs. (optional)
Optional
shouldBurn?: (token_id: TokenId, amount: bigint) => voidThe command method to burn the change for a token when it throws BurnTokenException
BurnTokenException if the rule is to burn the change for the given token_id (excluding native BCH).
When true if the bch change is considered as dust it will be added to the transaction fee.