Tokens

Create and manage Solana Token-2022 tokens with on-chain metadata and built-in tax distribution.

Token creation flow

1

Call POST /tokens/generate-distribution-wallet to get a walletId + derived distribution address.

2

Upload the image to IPFS

Call POST /tokens/upload-image to receive an imageUri.

3

Create an unsigned transaction

Call POST /tokens/create-unsigned to receive a base64 transaction.

4

Sign & submit

Sign the transaction with the user wallet and submit via POST /tokens/submit.


POST /tokens/generate-distribution-wallet

Generate a distribution wallet for fee collection. Typically called when a user opens the token creation UI.

Public endpoint — no JWT required.

Response (200 OK)

{
  "walletId": "uuid",
  "address": "DistributionWalletAddress..."
}

POST /tokens/upload-image

Upload token image to IPFS. The image is optimized to 512×512 JPG.

Request (multipart/form-data)

  • image: file (.png or .jpg, max 1MB)

Response (200 OK)


POST /tokens/create-unsigned

Create an unsigned Solana Token-2022 transaction with on-chain metadata.

⏱️ The returned transaction expires in 5 minutes and must be signed by the user wallet.

Request body

Response (200 OK)


POST /tokens/submit

Submit a signed transaction to Solana and save token metadata.

Request body

Response (200 OK)


GET /tokens

Get a paginated list of all visible tokens.

Query parameters

  • page (number, default: 1) — page number

  • limit (number, default: 20, max: 100) — items per page

Response (200 OK)


GET /tokens/me

Get list of tokens created by the authenticated user.

Response (200 OK)


GET /tokens/:mintAddress

Get detailed information about a specific token.

Path parameters

  • mintAddress (string) — Solana mint address

Response (200 OK)

Last updated