skr-js
    Preparing search index...

    Function decodeMainDomain

    • Decodes the raw data of a MainDomain account of the TLD House program, or returns null when the discriminator does not match or the data ends before the strings do.

      Pure and offline: works on bytes from any source.

      Parameters

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

      Returns MainDomain | null