Type alias FindKeyInput<T, K>

FindKeyInput<T, K>: {
    playerProfileProgram: PlayerProfileIDLProgram;
} & ({
    key: K;
    profile: PlayerProfile;
    requiredPermissions: T;
    validScopes: PublicKey[];
} | {
    key: K;
    keyIndex: number;
    profileKey: PublicKey;
})

Type Parameters

  • T extends PermissionType<T>

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

Type declaration

Generated using TypeDoc