List Unlock Protocol keys held by a wallet
unlock_list_keysList every Unlock Protocol membership a wallet holds across a network to find all locks at once, without knowing lock addresses upfront. Returns key details and validity, sorted by expiration.
Instructions
List every Unlock Protocol key a wallet holds across locks on a network, via the Unlock subgraph, read-only. Returns each key's lock address and name, tokenId, expiration, and validity, sorted by expiration descending and capped at 100 results with a truncation flag. Use this when you need every membership a wallet holds and don't know the lock addresses up front; use unlock_check_membership instead when you already know which lock to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name (defaults to "base") | base |
| walletAddress | Yes | Wallet address to list Unlock Protocol keys for | |
| includeExpired | No | Include expired and cancelled keys, not just currently valid ones (default false) |