These helper methods are useful for getting information about PKPs.

viewPKPPermissions

Returns the current permissions for a PKP (permitted addresses, Lit Actions, and auth methods with scopes)
const permissions = await litClient.viewPKPPermissions({...});
See Reference

viewPKPsByAuthData

Lists PKPs linked to a given authentication data payload
const pkps = await litClient.viewPKPsByAuthData({...});
See Reference

viewPKPsByAddress

Lists PKPs that permit a specific EVM address (which PKPs that address can operate).
const pkps = await litClient.viewPKPsByAddress({...});
See Reference