ordspv
    Preparing search index...

    Function hexToBytes

    • Byte / hex utilities. All chain-internal 32-byte hashes in this codebase are passed around in INTERNAL byte order (little-endian, as serialized on the wire). Human-facing hex (txids, block hashes, inscription IDs) is DISPLAY order (byte-reversed). Conversion happens only at the edges via displayToInternal / internalToDisplay so the orientation of any given value is always explicit.

      Parameters

      • hex: string

      Returns Uint8Array