Function verify

Source
pub fn verify(
    public_key: &PublicKey,
    expected_nonce: u64,
    tx_hash: &Blake3Hash,
    signature: &Signature,
    nonce: u64,
) -> Result<(), ContractError>
Expand description

Verify seal created by hash_and_sign().

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