Function findKeyInProfile
- findKeyInProfile<T, K>(input, permissionsClass): {
error: "cannot find key";
} | {
key: K;
keyIndex: number;
profileKey: PublicKey;
}
-
Type Parameters
-
-
K extends {
publicKey: (() => PublicKey);
}
Returns {
error: "cannot find key";
} | {
key: K;
keyIndex: number;
profileKey: PublicKey;
}
the found key(s)
Find a key in a profile