Skip to main content

computeTxPoWId

@totemsdk/txpow


@totemsdk/txpow / computeTxPoWId

Function: computeTxPoWId()

computeTxPoWId(headerBytes): Uint8Array

Compute TxPoW ID = SHA3-256(TxHeader bytes). Matches Java: Crypto.getInstance().hashObject(mHeader) via SHA3Digest(256).

Parameters​

headerBytes​

Uint8Array

Returns​

Uint8Array