callHash property

Uint8List get callHash

Returns the blake2b256 hash of the call data.

This hash is used to identify the transaction in on-chain storage and is required for operations like checking status or cancelling the transaction.

Returns: A 32-byte Uint8List containing the blake2b256 hash of the call data.

Example:

final callHash = response.callHash;
// Use this hash to cancel the transaction or check its status
await multisig.cancel(
  signerAddress: alice.address,
  signingCallback: alice.sign,
  callHash: callHash,
);

Implementation

Uint8List get callHash {
  return Hasher.blake2b256.hash(callData);
}