fun signWithECDSA(keyPair: KeyPair): WithKey
Utility to simplify the act of signing the transaction.
keyPair - the signer's public/private key pair.
keyPair
Return a digital signature of the transaction.