SignerCallback typedef

SignerCallback = Uint8List Function(Tx tx, int inputIndex, Uint8List sigHash, SigHashType hashType)

Called per input. Returns DER-encoded signature bytes (no hash type suffix).

Implementation

typedef SignerCallback = Uint8List Function(
  Tx tx,
  int inputIndex,
  Uint8List sigHash,
  SigHashType hashType,
);