Skip to main content
Version: 2.15.0

hash

function hash(json: string | ZkappCommand): Promise<string>;

Defined in: lib/mina/v1/transaction.ts:118

Computes the hash of a transaction represented as a JSON object or JSON string. This hash serves as a unique identifier for the transaction and is essential for tracking and verifying transactions on the Mina blockchain.

Parameters

json

string | ZkappCommand

Returns

Promise<string>