solscan_api/structs/
token_meta.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct TokenMeta {
5 pub symbol: String,
6 pub address: String,
7 pub name: String,
8 pub icon: String,
9 pub website: String,
10 pub twitter: String,
11 pub decimals: i64,
12 #[serde(rename = "coingeckoId")]
13 pub coingecko_id: String,
14 pub price: f64,
15 pub volume: i64,
16 #[serde(rename = "tokenAuthority")]
17 pub token_authority: Option<serde_json::Value>,
18 pub supply: String,
19 #[serde(rename = "type")]
20 pub token_meta_type: String,
21}