Function findKeyInProfile

  • Find a key in a profile

    Type Parameters

    • T extends PermissionType<T>

    • K extends {
          publicKey: (() => PublicKey);
      }

    Parameters

    Returns {
        error: "cannot find key";
    } | {
        key: K;
        keyIndex: number;
        profileKey: PublicKey;
    }

    the found key(s)

Generated using TypeDoc