pub struct TokenExtra {Show 21 fields
pub collection_address: Option<String>,
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 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": {
"collectionAddress": {
"description": "ENTITY.TOKEN_EXTRA.COLLECTION_ADDRESS",
"examples": [
"ABCDE"
],
"type": "string"
},
"editionNonce": {
"description": "ENTITY.TOKEN_EXTRA.EDITION_NONCE",
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"freezeAuthority": {
"description": "ENTITY.TOKEN_EXTRA.FREEZE_AUTHORITY",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"fungible": {
"description": "ENTITY.TOKEN_EXTRA.FUNGIBLE",
"examples": [
true
],
"type": "boolean"
},
"isMutable": {
"description": "ENTITY.TOKEN_EXTRA.IS_MUTABLE",
"examples": [
true
],
"type": "boolean"
},
"isNative": {
"description": "ENTITY.TOKEN_EXTRA.IS_NATIVE",
"examples": [
false
],
"type": "boolean"
},
"isVerifiedCollection": {
"description": "ENTITY.TOKEN_EXTRA.IS_VERIFIED_COLLECTION",
"examples": [
true
],
"type": "boolean"
},
"isWrapped": {
"description": "ENTITY.TOKEN_EXTRA.IS_WRAPPED",
"examples": [
false
],
"type": "boolean"
},
"key": {
"description": "ENTITY.TOKEN_EXTRA.KEY",
"examples": [
"Mint"
],
"type": "string"
},
"launchFromProgramAddress": {
"description": "ENTITY.TOKEN_EXTRA.LAUNCH_FROM_PROGRAM_ADDRESS",
"examples": [
"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
],
"type": "string"
},
"launchFromProtocolFamily": {
"description": "ENTITY.TOKEN_EXTRA.LAUNCH_FROM_PROTOCOL_FAMILY",
"examples": [
"pumpfun"
],
"type": "string"
},
"migratedAt": {
"description": "ENTITY.TOKEN_EXTRA.MIGRATED_AT",
"examples": [
1714857600000
],
"type": "integer",
"format": "int64"
},
"migratedToPoolAddress": {
"description": "ENTITY.TOKEN_EXTRA.MIGRATED_TO_POOL_ADDRESS",
"examples": [
"7AvUMqLBou5EAXzyhnizWmPU13u2VguJoBYdcX4bhJtQ"
],
"type": "string"
},
"migratedToProgramAddress": {
"description": "ENTITY.TOKEN_EXTRA.MIGRATED_TO_PROGRAM_ADDRESS",
"examples": [
"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
],
"type": "string"
},
"migratedToProtocolFamily": {
"description": "ENTITY.TOKEN_EXTRA.MIGRATED_TO_PROTOCOL_FAMILY",
"examples": [
"Raydium"
],
"type": "string"
},
"mintAuthority": {
"description": "ENTITY.TOKEN_EXTRA.MINT_AUTHORITY",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"primarySaleHappened": {
"description": "ENTITY.TOKEN_EXTRA.PRIMARY_SALE_HAPPENED",
"examples": [
false
],
"type": "boolean"
},
"programAddress": {
"description": "ENTITY.TOKEN_EXTRA.PROGRAM_ADDRESS",
"examples": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"type": "string"
},
"sellerFeeBasisPoints": {
"description": "ENTITY.TOKEN_EXTRA.SELLER_FEE_BASIS_POINTS",
"examples": [
100
],
"type": "integer",
"format": "int64"
},
"tokenStandard": {
"description": "ENTITY.TOKEN_EXTRA.TOKEN_STANDARD",
"examples": [
"Fungible"
],
"type": "string"
},
"updateAuthority": {
"description": "ENTITY.TOKEN_EXTRA.UPDATE_AUTHORITY",
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
}
}
}Fields§
§collection_address: Option<String>ENTITY.TOKEN_EXTRA.COLLECTION_ADDRESS
edition_nonce: Option<i64>ENTITY.TOKEN_EXTRA.EDITION_NONCE
ENTITY.TOKEN_EXTRA.FREEZE_AUTHORITY
fungible: Option<bool>ENTITY.TOKEN_EXTRA.FUNGIBLE
is_mutable: Option<bool>ENTITY.TOKEN_EXTRA.IS_MUTABLE
is_native: Option<bool>ENTITY.TOKEN_EXTRA.IS_NATIVE
is_verified_collection: Option<bool>ENTITY.TOKEN_EXTRA.IS_VERIFIED_COLLECTION
is_wrapped: Option<bool>ENTITY.TOKEN_EXTRA.IS_WRAPPED
key: Option<String>ENTITY.TOKEN_EXTRA.KEY
launch_from_program_address: Option<String>ENTITY.TOKEN_EXTRA.LAUNCH_FROM_PROGRAM_ADDRESS
launch_from_protocol_family: Option<String>ENTITY.TOKEN_EXTRA.LAUNCH_FROM_PROTOCOL_FAMILY
migrated_at: Option<i64>ENTITY.TOKEN_EXTRA.MIGRATED_AT
migrated_to_pool_address: Option<String>ENTITY.TOKEN_EXTRA.MIGRATED_TO_POOL_ADDRESS
migrated_to_program_address: Option<String>ENTITY.TOKEN_EXTRA.MIGRATED_TO_PROGRAM_ADDRESS
migrated_to_protocol_family: Option<String>ENTITY.TOKEN_EXTRA.MIGRATED_TO_PROTOCOL_FAMILY
ENTITY.TOKEN_EXTRA.MINT_AUTHORITY
primary_sale_happened: Option<bool>ENTITY.TOKEN_EXTRA.PRIMARY_SALE_HAPPENED
program_address: Option<String>ENTITY.TOKEN_EXTRA.PROGRAM_ADDRESS
seller_fee_basis_points: Option<i64>ENTITY.TOKEN_EXTRA.SELLER_FEE_BASIS_POINTS
token_standard: Option<String>ENTITY.TOKEN_EXTRA.TOKEN_STANDARD
ENTITY.TOKEN_EXTRA.UPDATE_AUTHORITY
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more