NashHQDocs Open the app

Agent metadata

Both agent tokens and the Super Agent point their tokenURI at the NashHQ server, $NASH until the Flux reveal (then IPFS, see below). The base URI is https://api.nashai.tech/api/metadata/; <base> below stands for https://api.nashai.tech:

Token tokenURI(id)
$NASH <base>/api/metadata/<id>?tier=flux
$NASHAI (mirror) <base>/api/metadata/<id>?tier=core
Super Agent (a later stage) <base>/api/metadata/<id>?tier=super

Response#

Standard NFT metadata, with no text or picture from a holder. The only value that moves is the memory root, a hash the server computes from the chat rows; a holder cannot choose it. Here for a Flux agent before the traits reveal:

{
  "name": "Nash Flux #42",
  "description": "…",
  "image": "<base>/avatars/flux/42.webp",
  "external_url": "…",
  "attributes": [
    { "trait_type": "Tier", "value": "Nash Flux" },
    { "trait_type": "Agent ID", "value": 42 },
    { "trait_type": "Memory Root", "value": "0x…" },
    { "trait_type": "Traits", "value": "Unrevealed" }
  ]
}

These five fields and no other:

Field Rule
name Nash Flux #42, NashAI Core #42 or Nash Super Agent #42. Fixed: there is no custom name
description One fixed sentence per tier
image <base>/avatars/<tier>/<id>.webp, a fixed file (see Server API). No ?v=: a picture changes at most once, at the Flux reveal
external_url The NashHQ app, https://app.nashai.tech
attributes Tier (Nash Flux, NashAI Core or Nash Super Agent), Agent ID (1 to 10,000) and Memory Root; Flux until the reveal also Traits: Unrevealed
  • Memory Root is the current root of that tier's memory of the number, the same value as GET /api/agent/:id/memory-hash?tier=… (see Server API). For a Super Agent, Memory Root is the Core memory's root and a second attribute, Flux Memory Root, is the Flux memory's root.
  • The picture per tier. Flux: until the reveal, the Flux default picture, the original Flux model, the same for every number (only the traits are sealed, never the model); after it, the card of #id. Core and Super: that tier's default picture.
  • At the reveal, the Traits attribute is replaced by Armour, Visor, Headgear, Circuits, Energy Ring, Field and Temperament, read from the published table. Core and Super Agent metadata have no trait attributes.

There is never an animation_url, and no text or picture from a holder is ever in the metadata. The route is public: it reads no chain and computes nothing per request beyond the stored memory root. The app shows image only when it comes from the NashHQ server's own address.

The Memory Root is what the server holds now. The root a holder sealed is on chain, at memoryRoot(id) on the NashHQ controller; compare the two to check the memory (see Memory).

After the Flux reveal: IPFS#

At the reveal the 10,000 Flux cards go into one IPFS folder and one metadata file per number into a second one. The team's cold owner wallet sets the base URI of $NASH to ipfs://<metadata CID>/ and, once it has checked the result, freezes it for good (freezeBaseURI). tokenURI(42) is then ipfs://<metadata CID>/42?tier=flux: the file named 42 in that folder.

Each IPFS file holds name, description, image (ipfs://<cards CID>/42.webp) and the attributes Tier, Agent ID and the seven traits, and nothing else:

  • No Memory Root: the root changes with every chat, and a frozen file cannot. Read it from memory-hash (see Server API).
  • No external_url: a file frozen for good must not point at a domain that could lapse and be taken over.

From then on marketplaces read Flux metadata from IPFS. The NashHQ server keeps serving the same name, picture and traits, plus the live memory root, to the app. Core and Super Agent metadata stay on the server. Nothing goes to IPFS before the reveal: IPFS is public, so an early upload would show the looks.

Caching#

Wallets and marketplaces fetch metadata often, so it is cached: the fixed pictures for a long time, metadata for about a minute. For the same reason the Memory Root in metadata can be a little behind: to check a memory, read memory-hash.

ERC-8004 agent card#

An activated Core agent is registered with the URI <agentCardBaseURI><id>.json, served at GET /api/agent-card/<id>.json. Only activated $NASHAI numbers have one; any other number = 404. It is a fixed template:

{
  "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
  "name": "NashAI Core #42",
  "description": "NashAI Core agent #42 on BNB Chain. Its holder chats with it in the NashHQ dApp with their own AI key; its memory root can be sealed on chain.",
  "image": "<base>/avatars/core/42.webp",
  "services": [
    { "name": "web", "endpoint": "https://app.nashai.tech/" }
  ],
  "x402Support": false,
  "active": true,
  "registrations": [
    { "agentId": 1234, "agentRegistry": "eip155:56:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" }
  ]
}

name and description are fixed text and never hold any holder text. image is the Core picture of that number. agentId is the ERC-8004 ID read on chain. EIP-8004 is a draft, so this format can change with it.

The card location (agentCardBaseURI) is https://api.nashai.tech/api/agent-card/, set when the controller was deployed (read on chain on 2026-11-30). The registry keeps the full card address of each agent from its activation, so this location is kept for good: a later change would never reach agents already activated (see Contracts).