pub fn hash_and_verify(
public_key: &PublicKey,
expected_nonce: u64,
header: &TransactionHeader,
read_slots: &[TransactionSlot],
write_slots: &[TransactionSlot],
payload: &[u128],
seal: &Seal,
) -> Result<(), ContractError>Expand description
Combines hash_transaction() and verify()