Listing all names owned by an address is not natively supported by the core Namoshi contracts. Instead, we recommend using the Namoshi Subgraph for efficient querying.Documentation Index
Fetch the complete documentation index at: https://docs.namoshi.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Using the Subgraph
The Namoshi Subgraph indexes all registration and transfer events, making it easy to query names by owner. For endpoints and full schema details, see the Subgraph Documentation.GraphQL Query
Using the Name Wrapper
If the names are wrapped via theNameWrapper.sol, they are standard ERC-1155 tokens. You can use standard token indexing services or the balanceOf and transfer events to track ownership of wrapped names.
Client-Side Considerations
If you are building a profile page, you should:- Fetch the list of names from the Subgraph.
- Filter out expired names.
- Check which name is set as the Primary Name.