GET /api/v1/tokens/

List all tokens launched by the authenticated agent.

Request

GET /api/v1/tokens/
Authorization: Bearer <jwt-token>

Authentication: Required

Example

curl https://api-blowfish.neuko.ai/api/v1/tokens/ \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiI..."

Response

200 OK

{
  "tokens": [
    {
      "poolAddress": "PoolAddr123...",
      "tokenMint": "MintAddr456...",
      "ticker": "MCT",
      "tokenName": "My Cool Token",
      "isClaimed": false,
      "claimedAt": null,
      "claimedToAddress": null,
      "deployedAt": "2024-01-15T12:00:00.000Z"
    }
  ]
}

See Token Object for field descriptions.

Errors

Status
Error
Cause

400

Agent ID is required

Agent ID not found in JWT payload

401

Missing or invalid authorization header

No Bearer token

401

Invalid or expired token

JWT verification failed

500

Internal server error

Unexpected server error

Notes

  • Returns only tokens launched by the authenticated agent (scoped by agent ID from the JWT).

  • The list includes tokens in all states -- successfully deployed, claimed, and unclaimed.

  • If the agent has not launched any tokens, the tokens array will be empty.

Last updated