pub struct DiscoverToken {Show 16 fields
pub token_address: String,
pub name: String,
pub symbol: String,
pub image: Option<String>,
pub network: String,
pub creator_address: Option<String>,
pub marketcap: f64,
pub price_usd: f64,
pub created_at: i64,
pub launched: bool,
pub volume24h: f64,
pub buys24h: i64,
pub sells24h: i64,
pub holders: i64,
pub price_change24h: f64,
pub graduation_pct: f64,
}Expand description
One row of the discovery feed.
Unlike Token, this endpoint pre-aggregates everything into f64s: these
are display numbers, not balances.
Fields§
§token_address: StringToken contract address.
name: StringToken name.
symbol: StringToken ticker.
image: Option<String>Token image URL.
network: StringChain slug.
creator_address: Option<String>Wallet that launched the token.
marketcap: f64USD market cap.
price_usd: f64Token price in USD.
created_at: i64Creation time, UNIX seconds.
launched: booltrue once graduated to a DEX pair.
volume24h: f64USD volume over the last 24 hours.
buys24h: i64Buy count over the last 24 hours.
sells24h: i64Sell count over the last 24 hours.
holders: i64Holder count.
price_change24h: f64Price change over the last 24 hours, percent.
graduation_pct: f64Progress toward the $30,000 graduation target, 0-100.
Trait Implementations§
Source§impl Clone for DiscoverToken
impl Clone for DiscoverToken
Source§impl Debug for DiscoverToken
impl Debug for DiscoverToken
Source§impl<'de> Deserialize<'de> for DiscoverToken
impl<'de> Deserialize<'de> for DiscoverToken
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiscoverToken
impl RefUnwindSafe for DiscoverToken
impl Send for DiscoverToken
impl Sync for DiscoverToken
impl Unpin for DiscoverToken
impl UnsafeUnpin for DiscoverToken
impl UnwindSafe for DiscoverToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more