getTransactionHash
Get the Midnight transaction hash from a sealed transaction.
This returns the hash that will appear in the indexer, NOT the extrinsic hash that the node RPC returns. These are different hashes:
Extrinsic hash: Hash of the Substrate extrinsic wrapper (from node RPC)
Midnight tx hash: Hash of the actual Midnight transaction (what indexer uses)
Return
Hex-encoded Midnight transaction hash, or null on error
Parameters
sealedTxHex
Hex-encoded sealed transaction