The Namoshi Subgraph is the most efficient way to query complex data from the protocol, such as listing all names owned by an address, finding recent registrations, or tracking wrapped name state.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.
Endpoint
You can send GraphQL POST requests to the following endpoint:Core Entities
The subgraph indexes several key entities. You can explore the full schema in the Playground.| Entity | Description |
|---|---|
Domain | The core entity for any name (e.g., nemo.btc). Tracks owner, resolver, and expiry. |
Registration | Records registration details, including cost and registration date. |
WrappedDomain | Details for names wrapped in the NameWrapper (ERC-1155). |
Account | Tracks all domains and registrations associated with a specific address. |
Resolver | Indexed data from resolver contracts (text records, multi-coin addresses). |
Example Queries
List names owned by an address
This query returns all names where the address is the current owner.Search for names starting with a prefix
Useful for search bars and autocomplete components.Get recently registered names
Query text records for a name
Playground
Explore the schema and test your queries directly in the browser:GraphQL Explorer
Open the interactive GraphQL playground to view the full schema and run test queries.
Technical Details
- Network: Citrea Mainnet (Chain ID: 4114)
- Start Block: 2534703
- Indexed Contracts: Registry, Base Registrar, Controller, Name Wrapper, Public Resolver.