sign method

List<int> sign(
  1. List<int> transactionDigest
)

Method to sign a transaction digest using the private key

Implementation

List<int> sign(List<int> transactionDigest) {
  final signer = TronSigner.fromKeyBytes(toBytes());
  return signer.sign(transactionDigest);
}