pub struct PageResponseTokenDataItem {Show 26 fields
pub address: String,
pub chain: String,
pub coingecko_coin_id: Option<String>,
pub decimals: i32,
pub description: Option<String>,
pub dev_last_token_created_at: Option<String>,
pub dev_total_tokens: Option<String>,
pub extension: Option<TokenExtra>,
pub extra: Option<TokenExtra>,
pub image_dup: Option<bool>,
pub image_hash: Option<String>,
pub image_url: Option<String>,
pub market: Option<String>,
pub market_data: Option<TokenMarketData>,
pub metadata_address: Option<String>,
pub name: String,
pub normalized_name: Option<String>,
pub social_medias: Option<TokenSocialMedias>,
pub stats: Option<TokenStats>,
pub symbol: String,
pub token_created_at: Option<i64>,
pub token_created_block_height: Option<String>,
pub token_created_slot: Option<String>,
pub token_created_tx_signature: Option<String>,
pub token_creators: Vec<TokenCreator>,
pub uri: Option<String>,
}Expand description
Token entity — mirrors TS TokenDTO extends TokenMetadataDTO.
TS uses class inheritance to flatten metadata into the top level.
Rust uses #[serde(flatten)] for the same effect.
JSON schema
{
"description": "Token entity — mirrors TS `TokenDTO extends TokenMetadataDTO`.\n\nTS uses class inheritance to flatten metadata into the top level.\nRust uses `#[serde(flatten)]` for the same effect.",
"type": "object",
"required": [
"address",
"chain",
"decimals",
"name",
"symbol"
],
"properties": {
"address": {
"description": "Token contract address",
"examples": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
],
"type": "string"
},
"chain": {
"description": "Blockchain network identifier",
"examples": [
"sol"
],
"type": "string"
},
"coingeckoCoinId": {
"description": "CoinGecko coin identifier",
"examples": [
"usd-coin"
],
"type": "string"
},
"decimals": {
"description": "Number of decimal places",
"examples": [
9
],
"type": "integer",
"format": "int32"
},
"description": {
"description": "Token description",
"examples": [
"USDC is a stablecoin pegged to the US dollar"
],
"type": "string"
},
"devLastTokenCreatedAt": {
"description": "Timestamp of developer last token creation",
"examples": [
"2025-12-03T09:23:34.000Z"
],
"type": "string"
},
"devTotalTokens": {
"description": "Total number of tokens created by the developer",
"examples": [
"163"
],
"type": "string"
},
"extension": {
"$ref": "#/components/schemas/TokenExtra"
},
"extra": {
"$ref": "#/components/schemas/TokenExtra"
},
"imageDup": {
"description": "ENTITY.TOKEN.IMAGE_DUP",
"examples": [
false
],
"type": "boolean"
},
"imageHash": {
"description": "ENTITY.TOKEN.IMAGE_HASH",
"examples": [
"a1b2c3d4e5f6a7b8"
],
"type": "string"
},
"imageUrl": {
"description": "Token logo image URL",
"examples": [
"https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png"
],
"type": "string"
},
"market": {
"description": "Trading market identifier",
"examples": [
"USDC-SOL"
],
"type": "string"
},
"marketData": {
"$ref": "#/components/schemas/TokenMarketData"
},
"metadataAddress": {
"description": "On-chain metadata account address",
"examples": [
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
],
"type": "string"
},
"name": {
"description": "Token display name",
"examples": [
"USD Coin"
],
"type": "string"
},
"normalizedName": {
"description": "ENTITY.TOKEN.NORMALIZED_NAME",
"examples": [
"pepe"
],
"type": "string"
},
"socialMedias": {
"$ref": "#/components/schemas/TokenSocialMedias"
},
"stats": {
"$ref": "#/components/schemas/TokenStats"
},
"symbol": {
"description": "Token ticker symbol",
"examples": [
"USDC"
],
"type": "string"
},
"tokenCreatedAt": {
"description": "Token creation timestamp (milliseconds)",
"examples": [
1710417600000
],
"type": "integer",
"format": "int64"
},
"tokenCreatedBlockHeight": {
"description": "Block height when token was created",
"examples": [
"220000000"
],
"type": "string"
},
"tokenCreatedSlot": {
"description": "Slot number when token was created",
"examples": [
"230000000"
],
"type": "string"
},
"tokenCreatedTxSignature": {
"description": "Transaction signature of token creation",
"examples": [
"5dJ1BxPiFT7w7aBdkxNy2jopGZnZoLwRwS8e9GkEXrVz..."
],
"type": "string"
},
"tokenCreators": {
"description": "List of token creators",
"type": "array",
"items": {
"$ref": "#/components/schemas/TokenCreator"
}
},
"uri": {
"description": "Token metadata URI",
"examples": [
"https://arweave.net/abc123"
],
"type": "string"
}
}
}Fields§
§address: StringToken contract address
chain: StringBlockchain network identifier
coingecko_coin_id: Option<String>CoinGecko coin identifier
decimals: i32Number of decimal places
description: Option<String>Token description
dev_last_token_created_at: Option<String>Timestamp of developer last token creation
dev_total_tokens: Option<String>Total number of tokens created by the developer
extension: Option<TokenExtra>§extra: Option<TokenExtra>§image_dup: Option<bool>ENTITY.TOKEN.IMAGE_DUP
image_hash: Option<String>ENTITY.TOKEN.IMAGE_HASH
image_url: Option<String>Token logo image URL
market: Option<String>Trading market identifier
market_data: Option<TokenMarketData>§metadata_address: Option<String>On-chain metadata account address
name: StringToken display name
normalized_name: Option<String>ENTITY.TOKEN.NORMALIZED_NAME
stats: Option<TokenStats>§symbol: StringToken ticker symbol
token_created_at: Option<i64>Token creation timestamp (milliseconds)
token_created_block_height: Option<String>Block height when token was created
token_created_slot: Option<String>Slot number when token was created
token_created_tx_signature: Option<String>Transaction signature of token creation
token_creators: Vec<TokenCreator>List of token creators
uri: Option<String>Token metadata URI
Implementations§
Source§impl PageResponseTokenDataItem
impl PageResponseTokenDataItem
pub fn builder() -> PageResponseTokenDataItem
Trait Implementations§
Source§impl Clone for PageResponseTokenDataItem
impl Clone for PageResponseTokenDataItem
Source§fn clone(&self) -> PageResponseTokenDataItem
fn clone(&self) -> PageResponseTokenDataItem
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more