pub struct TokenExtra {Show 31 fields
pub banner_url: Option<String>,
pub collection_address: Option<String>,
pub dexscreener_ad: Option<bool>,
pub dexscreener_ad_at: Option<i64>,
pub dexscreener_boost_at: Option<i64>,
pub dexscreener_boost_fee_in_usd: Option<String>,
pub dexscreener_trending_bar: Option<bool>,
pub dexscreener_trending_bar_at: Option<i64>,
pub dexscreener_update_link: Option<bool>,
pub dexscreener_update_link_at: Option<i64>,
pub edition_nonce: Option<i64>,
pub freeze_authority: Option<String>,
pub fungible: Option<bool>,
pub is_mutable: Option<bool>,
pub is_native: Option<bool>,
pub is_verified_collection: Option<bool>,
pub is_wrapped: Option<bool>,
pub key: Option<String>,
pub launch_from_program_address: Option<String>,
pub launch_from_protocol_family: Option<String>,
pub launch_quote_token_address: Option<String>,
pub migrated_at: Option<i64>,
pub migrated_to_pool_address: Option<String>,
pub migrated_to_program_address: Option<String>,
pub migrated_to_protocol_family: Option<String>,
pub mint_authority: Option<String>,
pub primary_sale_happened: Option<bool>,
pub program_address: Option<String>,
pub seller_fee_basis_points: Option<i64>,
pub token_standard: Option<String>,
pub update_authority: Option<String>,
}Expand description
Token extra metadata
JSON schema
{
"description": "Token extra metadata",
"type": "object",
"properties": {
"bannerUrl": {
"description": "ENTITY.TOKEN_EXTRA.BANNER_URL",
"type": "string"
},
"collectionAddress": {
"description": "NFT collection address",
"examples": [
"ABCDE"
],
"type": "string"
},
"dexscreenerAd": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_AD",
"type": "boolean"
},
"dexscreenerAdAt": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_AD_AT",
"type": "integer",
"format": "int64"
},
"dexscreenerBoostAt": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_BOOST_AT",
"type": "integer",
"format": "int64"
},
"dexscreenerBoostFeeInUsd": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_BOOST_FEE_IN_USD",
"type": "string"
},
"dexscreenerTrendingBar": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_TRENDING_BAR",
"type": "boolean"
},
"dexscreenerTrendingBarAt": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_TRENDING_BAR_AT",
"type": "integer",
"format": "int64"
},
"dexscreenerUpdateLink": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_UPDATE_LINK",
"type": "boolean"
},
"dexscreenerUpdateLinkAt": {
"description": "ENTITY.TOKEN_EXTRA.DEXSCREENER_UPDATE_LINK_AT",
"type": "integer",
"format": "int64"
},
"editionNonce": {
"description": "Edition nonce value",
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"freezeAuthority": {
"description": "Freeze authority address",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"fungible": {
"description": "Whether the token is fungible",
"examples": [
true
],
"type": "boolean"
},
"isMutable": {
"description": "Whether metadata is mutable",
"examples": [
true
],
"type": "boolean"
},
"isNative": {
"description": "Whether the token is native (e.g., SOL)",
"examples": [
false
],
"type": "boolean"
},
"isVerifiedCollection": {
"description": "Whether the collection is verified",
"examples": [
true
],
"type": "boolean"
},
"isWrapped": {
"description": "Whether the token is wrapped",
"examples": [
false
],
"type": "boolean"
},
"key": {
"description": "Metaplex account key type",
"examples": [
"Mint"
],
"type": "string"
},
"launchFromProgramAddress": {
"description": "Launch platform program address",
"examples": [
"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
],
"type": "string"
},
"launchFromProtocolFamily": {
"description": "Launch platform protocol family",
"examples": [
"pumpfun"
],
"type": "string"
},
"launchQuoteTokenAddress": {
"description": "ENTITY.TOKEN_EXTRA.LAUNCH_QUOTE_TOKEN_ADDRESS",
"type": "string"
},
"migratedAt": {
"description": "Migration timestamp (milliseconds)",
"examples": [
1714857600000
],
"type": "integer",
"format": "int64"
},
"migratedToPoolAddress": {
"description": "Migrated-to pool address",
"examples": [
"7AvUMqLBou5EAXzyhnizWmPU13u2VguJoBYdcX4bhJtQ"
],
"type": "string"
},
"migratedToProgramAddress": {
"description": "Migrated-to program address",
"examples": [
"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
],
"type": "string"
},
"migratedToProtocolFamily": {
"description": "Migrated-to protocol family",
"examples": [
"Raydium"
],
"type": "string"
},
"mintAuthority": {
"description": "Mint authority address",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"primarySaleHappened": {
"description": "Whether the primary sale has occurred",
"examples": [
false
],
"type": "boolean"
},
"programAddress": {
"description": "Token program address",
"examples": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"type": "string"
},
"sellerFeeBasisPoints": {
"description": "Seller fee in basis points",
"examples": [
100
],
"type": "integer",
"format": "int64"
},
"tokenStandard": {
"description": "Token standard (e.g., Fungible)",
"examples": [
"Fungible"
],
"type": "string"
},
"updateAuthority": {
"description": "Update authority address",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
}
}
}Fields§
ENTITY.TOKEN_EXTRA.BANNER_URL
collection_address: Option<String>NFT collection address
dexscreener_ad: Option<bool>ENTITY.TOKEN_EXTRA.DEXSCREENER_AD
dexscreener_ad_at: Option<i64>ENTITY.TOKEN_EXTRA.DEXSCREENER_AD_AT
dexscreener_boost_at: Option<i64>ENTITY.TOKEN_EXTRA.DEXSCREENER_BOOST_AT
dexscreener_boost_fee_in_usd: Option<String>ENTITY.TOKEN_EXTRA.DEXSCREENER_BOOST_FEE_IN_USD
dexscreener_trending_bar: Option<bool>ENTITY.TOKEN_EXTRA.DEXSCREENER_TRENDING_BAR
dexscreener_trending_bar_at: Option<i64>ENTITY.TOKEN_EXTRA.DEXSCREENER_TRENDING_BAR_AT
dexscreener_update_link: Option<bool>ENTITY.TOKEN_EXTRA.DEXSCREENER_UPDATE_LINK
dexscreener_update_link_at: Option<i64>ENTITY.TOKEN_EXTRA.DEXSCREENER_UPDATE_LINK_AT
edition_nonce: Option<i64>Edition nonce value
Freeze authority address
fungible: Option<bool>Whether the token is fungible
is_mutable: Option<bool>Whether metadata is mutable
is_native: Option<bool>Whether the token is native (e.g., SOL)
is_verified_collection: Option<bool>Whether the collection is verified
is_wrapped: Option<bool>Whether the token is wrapped
key: Option<String>Metaplex account key type
launch_from_program_address: Option<String>Launch platform program address
launch_from_protocol_family: Option<String>Launch platform protocol family
launch_quote_token_address: Option<String>ENTITY.TOKEN_EXTRA.LAUNCH_QUOTE_TOKEN_ADDRESS
migrated_at: Option<i64>Migration timestamp (milliseconds)
migrated_to_pool_address: Option<String>Migrated-to pool address
migrated_to_program_address: Option<String>Migrated-to program address
migrated_to_protocol_family: Option<String>Migrated-to protocol family
Mint authority address
primary_sale_happened: Option<bool>Whether the primary sale has occurred
program_address: Option<String>Token program address
seller_fee_basis_points: Option<i64>Seller fee in basis points
token_standard: Option<String>Token standard (e.g., Fungible)
Update authority address
Implementations§
Source§impl TokenExtra
impl TokenExtra
pub fn builder() -> TokenExtra
Trait Implementations§
Source§impl Clone for TokenExtra
impl Clone for TokenExtra
Source§fn clone(&self) -> TokenExtra
fn clone(&self) -> TokenExtra
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more