Function hash_and_sign

Source
pub fn hash_and_sign(
    keypair: &Keypair,
    header: &TransactionHeader,
    read_slots: &[TransactionSlot],
    write_slots: &[TransactionSlot],
    payload: &[u128],
    nonce: u64,
) -> Seal
Expand description

Combines hash_transaction() and sign() and returns Seal