CCC Docs
    Preparing search index...
    • Computes the CKB hash of the given data using the Blake2b algorithm.

      Parameters

      Returns `0x${string}`

      The hexadecimal string representation of the hash.

      const hash = hashCkb("some data"); // Outputs something like "0x..."