skr-js
    Preparing search index...

    Function getUnsetPrimarySkrDomainInstruction

    • Builds the TLD House instruction that removes the primary name of owner, after which getPrimarySkrDomain returns null for it.

      Offline: derives every account without an RPC. It closes the wallet's MainDomain account and returns its rent to owner. A wallet has one MainDomain account across every AllDomains TLD, so this removes a primary name under another TLD too. The program rejects the transaction when the wallet has no primary name or when owner does not sign.

      Type Parameters

      • TOwner extends string = string

      Returns Promise<
          Instruction<
              string,
              readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
          >,
      >