GET
/
token
/
{chain}
/
{tokenAddress}
/
metadata
curl --request GET \
  --url https://api-dex.chainstream.io/token/{chain}/{tokenAddress}/metadata \
  --header 'Authorization: Bearer <token>'
{
  "chain": "solana",
  "decimals": "9",
  "name": "USD Coin",
  "symbol": "USDC",
  "metadataAddress": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
  "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "tokenCreators": "[\"FEwwZPKvLFUy3o1qK1b167qDLLNvk7wd7YeupR7LhRWw\"]",
  "imageUrl": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png",
  "uri": "https://...",
  "extra": "{}",
  "metadata": "{}",
  "socialMedias": "{\"twitter\":\"@circle\",\"website\":\"https://www.circle.com\"}",
  "tokenCreatedAt": "2024-03-14T12:00:00Z",
  "description": "USDC is a stablecoin pegged to the US dollar"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
enum<string>
required

支持网络中列出的区块链名称

Available options:
sol,
base
tokenAddress
string
required

代币地址

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

Response

200 - application/json
chain
string
required

区块链网络标识符

Example:

"solana"

decimals
string
required

代币小数位数

Example:

"9"

name
string
required

代币名称

Example:

"USD Coin"

symbol
string
required

代币符号

Example:

"USDC"

metadataAddress
string
required

元数据程序地址

Example:

"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"

address
string
required

代币铸造地址

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

tokenCreators
string
required

代币创建者地址

Example:

"[\"FEwwZPKvLFUy3o1qK1b167qDLLNvk7wd7YeupR7LhRWw\"]"

tokenCreatedAt
number
required

代币创建时间戳

Example:

"2024-03-14T12:00:00Z"

description
string
required

代币描述

Example:

"USDC is a stablecoin pegged to the US dollar"

imageUrl
string

代币图片 URL

Example:

"https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png"

uri
string

元数据 URI

Example:

"https://..."

extra
string

额外元数据

Example:

"{}"

metadata
string

完整元数据 JSON

Example:

"{}"

socialMedias
string

社交媒体链接

Example:

"{\"twitter\":\"@circle\",\"website\":\"https://www.circle.com\"}"