TRENDDocs
API referenceToken metadata

Metadata document of a token

GET
/v1/metadata/{mint}

The JSON a wallet reads from the token's on-chain URI.

Path Parameters

mint*string

A token mint address.

Response Body

OK

application/json
  1. response

A token metadata document: name, symbol, description, image.

curl -X GET 'https://api.dev.trend.fun/v1/metadata/So11111111111111111111111111111111111111112'
{  "name": "The Vivid Pounces",  "symbol": "POUNCES",  "description": "POPCAT, MEW and michi, weighted by value and traded as a single cat token. Knocks things off tables at equal weight.",  "image": "https://api.dev.trend.fun/v1/media/15568c4044f7b0655d2e5aa7476d5017.png",  "decimals": 6,  "createdOn": "https://trend.fun",  "properties": {    "category": "fungible",    "files": [      {        "uri": "https://api.dev.trend.fun/v1/media/15568c4044f7b0655d2e5aa7476d5017.png",        "type": "image/png"      }    ]  }}