sign method

RawTransaction sign({
  1. required Uint8List seed,
  2. required HDWalletPath walletPath,
  3. required UTXONetworkType networkType,
})

Implementation

RawTransaction sign({
  required Uint8List seed,
  required HDWalletPath walletPath,
  required UTXONetworkType networkType,
}) {
  assert(
    inputMap != null,
    'Cant sign transaction without inputs',
  );

  final signedInputs = signInputs(
    inputs: inputMap!,
    walletPath: walletPath,
    tx: this,
    networkType: networkType,
    seed: seed,
  );

  return _addInputs(signedInputs);
}