The Tokens API is a thin metadata layer on top of the on-chainDocumentation Index
Fetch the complete documentation index at: https://agentflow-fea9d881-feat-republic-narrative.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
LaunchpadFactory and the per-template instances. The actual launch is always wallet-initiated — the API does not custody keys. These endpoints handle:
- Pre-flight metadata (name, ticker, description, image, tags) before signing.
- Post-launch reconciliation (linking
instanceaddress to a slug, AI-fill, image upload). - Read-side queries from the chain indexer (state, holders, trades).
POST /tokens
Register off-chain metadata for a token you are about to launch (or just launched). Auth: required.One of
virtuals, dpnm. More templates added as they ship.Display name.
3–6 character symbol.
Optional short description; AI uses this to fill richer metadata.
Template-specific parameters. Shape differs per template — see Create a Token.
Optional. If you’ve already deployed via
factory.launch(...), pass the resulting instance address; the API will skip its own launch flow and just store metadata.Chain to launch on.
97 = BSC testnet, 56 = BSC mainnet (when live), 8453 = Base mainnet (Phase 2).instance was not provided in the request, the response also includes a pendingLaunchTx field with the encoded calldata for the user’s wallet to sign.
GET /tokens
List tokens. Public. Query params:cursor, template (virtuals | dpnm), state (live, graduating, sentient, failed), chainId, sort.
GET /tokens/:slug
Fetch full token state including on-chain reads from the chain indexer. Public.dpnm tokens, the response shape differs:
GET /tokens/:slug/holders
List token holders, paginated. Public. Reads from the chain indexer.GET /tokens/:slug/trades
List recent buys and sells (and graduations forvirtuals). Sourced from swap_events in the chain indexer.
Errors
| Code | When |
|---|---|
ticker_taken | Ticker already in use |
invalid_ticker | Out of allowed character range |
template_unknown | Template id not registered on this chain |
params_invalid | Param shape does not match the template |
chain_unsupported | chainId not configured |
token_not_found | Slug does not exist |
All on-chain interactions (launch, buy, sell, activate, extendTree, claimGWT, etc.) happen directly from the user’s wallet. The API never signs on the user’s behalf.