Generates a unique keccak256 hash for an order, used for on-chain identification and verification.
This generated hash is used as the onchain order hash.
Examples
constresult = awaitgetOrderHash(order); if (result.error) { console.error("Hash generation failed:", result.error.readableMsg); } constorderHash = result.value; // Do something with the order hash
Generates a unique keccak256 hash for an order, used for on-chain identification and verification. This generated hash is used as the onchain order hash.
Examples