sign abstract method
LegacyInput
sign({
- required Transaction tx,
- required int inputN,
- required ECPrivateKey key,
- SigHashType hashType = const SigHashType.all(),
Signs the input given the tx
, input number (inputN
) and a private
key
using the specifified hashType
.
Implemented by specific subclasses.
Implementation
LegacyInput sign({
required Transaction tx,
required int inputN,
required ECPrivateKey key,
SigHashType hashType = const SigHashType.all(),
});