skr-js
    Preparing search index...

    Function decodeNameRecordHeader

    • Decodes the fixed 200-byte header of an AllDomains name account, or returns null when the data is shorter than that. expiresAt stays 0n for a name that never expires.

      Pure and offline: works on bytes from any source.

      Parameters

      • data: ReadonlyUint8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

      Returns NameRecordHeader | null