pub fn sign(keypair: &Keypair, tx_hash: &Blake3Hash) -> Signature
Expand description

Sign transaction hash created with hash_transaction().

hash_and_sign() helper function exists that combines this method with hash_transaction().