buildDummyTx function
- required UTXONetworkType networkType,
- required HDWalletPath walletPath,
- required Map<
ElectrumOutput, Input> inputMap, - required List<
Output> dummyOutputs,
Implementation
RawTransaction buildDummyTx({
required UTXONetworkType networkType,
required HDWalletPath walletPath,
required Map<ElectrumOutput, Input> inputMap,
required List<Output> dummyOutputs,
}) {
final dummySeed = helloSeed;
var dummyTx = RawTransaction.build(
version: 0,
lockTime: 0,
validFrom: 0,
validUntil: 0,
inputMap: inputMap,
outputs: dummyOutputs,
).sign(
seed: dummySeed,
networkType: networkType,
walletPath: walletPath,
);
return dummyTx;
}