Metaplex Core decoder
Decode Metaplex Core instructions and accounts in Rust with carbon-mpl-core-decoder 2.0.0. Program ID CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d.
On this page
carbon-mpl-core-decoder decodes the instructions and accounts of the Metaplex Core program (CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d): 42 instructions, 6 account types. It is generated with Codama from the program's IDL; see decoders for how decoders plug into a pipeline.
| Crate | carbon-mpl-core-decoder 2.0.0 |
| Install | cargo add carbon-mpl-core-decoder@2. |
| Program ID | CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d (carbon_) |
| Category | NFTs & metadata |
| Decoder | carbon_ |
| Instruction enum | instructions:: |
| Account enum | accounts:: |
| Features | serde, postgres, graphql (none enabled by default) |
| API docs | docs.rs/carbon-mpl-core-decoder/2.0.0 |
| Source | decoders/mpl-core-decoder |
Other NFT and metadata decoders: Bubblegum, Metaplex Token Metadata. To decode several in one pipeline, see nFT and metadata decoders.
The serde feature derives Serialize/Deserialize on every type, postgres adds tables and processors for Postgres, and graphql adds a schema for the GraphQL server.
Usage#
This program crawls recent Metaplex Core transactions from the public RPC and prints every decoded CreateV1 instruction. Add the dependencies:
cargo add carbon-core@2.0.0 carbon-mpl-core-decoder@2.0.0 carbon-rpc-transaction-crawler-datasource@2.0.0 carbon-log-metrics@2.0.0 env_logger tokio --features tokio/fulluse {
carbon_core::{
error::CarbonResult, instruction::InstructionProcessorInputType, pipeline::Pipeline,
processor::Processor,
},
carbon_log_metrics::LogMetrics,
carbon_mpl_core_decoder::{instructions::MplCoreInstruction, MplCoreDecoder, PROGRAM_ID},
carbon_rpc_transaction_crawler_datasource::{ConnectionConfig, Filters, RpcTransactionCrawler},
std::sync::Arc,
};
#[tokio::main]
async fn main() -> CarbonResult<()> {
env_logger::init();
// Fetches the program's recent transactions over JSON-RPC, newest first.
let datasource = RpcTransactionCrawler::new(
"https://api.mainnet-beta.solana.com".to_string(),
PROGRAM_ID,
ConnectionConfig::default(),
Filters::new(None, None, None),
None,
);
Pipeline::builder()
.datasource(datasource)
.metrics(Arc::new(LogMetrics::new()))
.instruction(MplCoreDecoder, InstructionLogger)
.build()?
.run()
.await
}
struct InstructionLogger;
impl Processor<InstructionProcessorInputType<'_, MplCoreInstruction>> for InstructionLogger {
async fn process(
&mut self,
input: &InstructionProcessorInputType<'_, MplCoreInstruction>,
) -> CarbonResult<()> {
let signature = input.metadata.transaction_metadata.signature;
if let MplCoreInstruction::CreateV1 { data, accounts, .. } = input.decoded_instruction {
println!("create_v1 {signature}: {data:?} asset={}", accounts.asset);
}
Ok(())
}
}RUST_LOG=info cargo runEach CreateV1 instruction prints one line with the transaction signature and the decoded CreateV1 data. The public endpoint rate-limits requests, so the first lines can take a while; use your own RPC URL for anything beyond a test. See stream with RPC for the crawler options.
Decode accounts#
The transaction crawler emits transactions only. To decode accounts, use a datasource that emits account updates. This program subscribes to the program's accounts with programSubscribe on the public WebSocket endpoint and prints every decoded AssetV1 account as it changes. Add the datasource and the Solana RPC types it takes:
cargo add carbon-rpc-program-subscribe-datasource@2.0.0 solana-client@4.2.2use {
carbon_core::{
account::AccountProcessorInputType, error::CarbonResult, pipeline::Pipeline,
processor::Processor,
},
carbon_log_metrics::LogMetrics,
carbon_mpl_core_decoder::{accounts::MplCoreAccount, MplCoreDecoder, PROGRAM_ID},
carbon_rpc_program_subscribe_datasource::{Filters, RpcProgramSubscribe},
solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig, UiAccountEncoding},
std::sync::Arc,
};
#[tokio::main]
async fn main() -> CarbonResult<()> {
env_logger::init();
// Streams every change to an account owned by the program (programSubscribe).
let config = RpcProgramAccountsConfig {
account_config: RpcAccountInfoConfig {
encoding: Some(UiAccountEncoding::Base64),
..Default::default()
},
..Default::default()
};
let datasource = RpcProgramSubscribe::new(
"wss://api.mainnet-beta.solana.com".to_string(),
Filters::new(PROGRAM_ID, Some(config)),
);
Pipeline::builder()
.datasource(datasource)
.metrics(Arc::new(LogMetrics::new()))
.account(MplCoreDecoder, AccountLogger)
.build()?
.run()
.await
}
struct AccountLogger;
impl Processor<AccountProcessorInputType<'_, MplCoreAccount>> for AccountLogger {
async fn process(
&mut self,
input: &AccountProcessorInputType<'_, MplCoreAccount>,
) -> CarbonResult<()> {
if let MplCoreAccount::AssetV1(asset_v1) = &input.decoded_account.data {
println!("asset_v1 {}: {asset_v1:?}", input.metadata.pubkey);
}
Ok(())
}
}RUST_LOG=info cargo runEach update to a AssetV1 account prints its address and decoded fields; the program runs until you stop it. Cargo resolves solana-client to 4.2.2, the exact version the datasource pins, so both use the same RpcProgramAccountsConfig type. To load every existing account once instead of streaming changes, see load account state.
Instructions#
Variants of MplCoreInstruction. Each is MplCoreInstruction::, where data and accounts are the types listed under the variant, exported from carbon_. Discriminators are the leading bytes of the instruction data, in hex.
How an instruction decodes. The decoder returns a variant only when all of these hold; otherwise the instruction is skipped and no processor is called:
- The instruction's program ID is
CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d. - The data starts with the variant's discriminator, and the rest deserializes into its data type.
- The instruction has at least as many accounts as the variant requires (the "Required accounts" count under each variant).
Accounts. They are matched by position, in the order listed. An account marked optional is None only when the instruction ends before it; Anchor programs pass the program ID as a placeholder for an omitted optional account, so check for Some(PROGRAM_ too. Accounts after the listed ones are in accounts. as AccountMetas. The decoder doesn't record whether an account signed or was writable: read that from input. and ., which follow the same order. It doesn't check signer, writable, owner or PDA constraints either; the program enforced those when the transaction executed, so a decoded instruction from a successful transaction already satisfied them.
AddAssetsToGroupV1#
Discriminator 23 · data AddAssetsToGroupV1 · accounts AddAssetsToGroupV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddAssetsToGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of AddAssetsToGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
AddCollectionExternalPluginAdapterV1#
Discriminator 17 · data AddCollectionExternalPluginAdapterV1 · accounts AddCollectionExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddCollectionExternalPluginAdapterV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of AddCollectionExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
AddCollectionPluginV1#
Discriminator 03 · data AddCollectionPluginV1 · accounts AddCollectionPluginV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddCollectionPluginV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of AddCollectionPluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
AddCollectionsToGroupV1#
Discriminator 21 · data AddCollectionsToGroupV1 · accounts AddCollectionsToGroupV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddCollectionsToGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of AddCollectionsToGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
AddExternalPluginAdapterV1#
Discriminator 16 · data AddExternalPluginAdapterV1 · accounts AddExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddExternalPluginAdapterV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of AddExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
AddGroupsToGroupV1#
Discriminator 25 · data AddGroupsToGroupV1 · accounts AddGroupsToGroupV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddGroupsToGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of AddGroupsToGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | parent_ | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
AddPluginV1#
Discriminator 02 · data AddPluginV1 · accounts AddPluginV1InstructionAccounts.
| Field | Type |
|---|---|
add_ | AddPluginV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of AddPluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
ApproveCollectionPluginAuthorityV1#
Discriminator 09 · data ApproveCollectionPluginAuthorityV1 · accounts ApproveCollectionPluginAuthorityV1InstructionAccounts.
| Field | Type |
|---|---|
approve_ | ApproveCollectionPluginAuthorityV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of ApproveCollectionPluginAuthorityV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
ApprovePluginAuthorityV1#
Discriminator 08 · data ApprovePluginAuthorityV1 · accounts ApprovePluginAuthorityV1InstructionAccounts.
| Field | Type |
|---|---|
approve_ | ApprovePluginAuthorityV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of ApprovePluginAuthorityV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
BurnCollectionV1#
Discriminator 0d · data BurnCollectionV1 · accounts BurnCollectionV1InstructionAccounts.
| Field | Type |
|---|---|
burn_ | BurnCollectionV1Args |
Required accounts: 2 (4 listed); extras go to remaining.
Fields of BurnCollectionV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | log_wrapper | Option< |
| 4… | remaining | Vec< |
BurnV1#
Discriminator 0c · data BurnV1 · accounts BurnV1InstructionAccounts.
| Field | Type |
|---|---|
burn_ | BurnV1Args |
Required accounts: 3 (6 listed); extras go to remaining.
Fields of BurnV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Option< |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
CloseGroupV1#
Discriminator 28 · data CloseGroupV1 · accounts CloseGroupV1InstructionAccounts.
| Field | Type |
|---|---|
close_ | CloseGroupV1Args |
Required accounts: 2 (3 listed); extras go to remaining.
Fields of CloseGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3… | remaining | Vec< |
Collect#
Discriminator 13 · data Collect · accounts CollectInstructionAccounts.
No data fields.
Required accounts: 2; extras go to remaining.
Fields of CollectInstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | recipient1 | Pubkey |
| 1 | recipient2 | Pubkey |
| 2… | remaining | Vec< |
CompressV1#
Discriminator 11 · data CompressV1 · accounts CompressV1InstructionAccounts.
| Field | Type |
|---|---|
compress_ | CompressV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of CompressV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
CreateCollectionV1#
Discriminator 01 · data CreateCollectionV1 · accounts CreateCollectionV1InstructionAccounts.
| Field | Type |
|---|---|
create_ | CreateCollectionV1Args |
Required accounts: 4; extras go to remaining.
Fields of CreateCollectionV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | update_ | Option< |
| 2 | payer | Pubkey |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
CreateCollectionV2#
Discriminator 15 · data CreateCollectionV2 · accounts CreateCollectionV2InstructionAccounts.
| Field | Type |
|---|---|
create_ | CreateCollectionV2Args |
Required accounts: 4; extras go to remaining.
Fields of CreateCollectionV2InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | update_ | Option< |
| 2 | payer | Pubkey |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
CreateGroupV1#
Discriminator 27 · data CreateGroupV1 · accounts CreateGroupV1InstructionAccounts.
| Field | Type |
|---|---|
create_ | CreateGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of CreateGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | update_ | Option< |
| 2 | payer | Pubkey |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
CreateV1#
Discriminator 00 · data CreateV1 · accounts CreateV1InstructionAccounts.
| Field | Type |
|---|---|
create_ | CreateV1Args |
Required accounts: 7 (8 listed); extras go to remaining.
Fields of CreateV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | authority | Option< |
| 3 | payer | Pubkey |
| 4 | owner | Option< |
| 5 | update_ | Option< |
| 6 | system_ | Pubkey |
| 7 | log_wrapper | Option< |
| 8… | remaining | Vec< |
CreateV2#
Discriminator 14 · data CreateV2 · accounts CreateV2InstructionAccounts.
| Field | Type |
|---|---|
create_ | CreateV2Args |
Required accounts: 7 (8 listed); extras go to remaining.
Fields of CreateV2InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | authority | Option< |
| 3 | payer | Pubkey |
| 4 | owner | Option< |
| 5 | update_ | Option< |
| 6 | system_ | Pubkey |
| 7 | log_wrapper | Option< |
| 8… | remaining | Vec< |
DecompressV1#
Discriminator 12 · data DecompressV1 · accounts DecompressV1InstructionAccounts.
| Field | Type |
|---|---|
decompress_ | DecompressV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of DecompressV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
ExecuteV1#
Discriminator 1f · data ExecuteV1 · accounts ExecuteV1InstructionAccounts.
| Field | Type |
|---|---|
execute_ | ExecuteV1Args |
Required accounts: 7; extras go to remaining.
Fields of ExecuteV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | asset_ | Pubkey |
| 3 | payer | Pubkey |
| 4 | authority | Option< |
| 5 | system_ | Pubkey |
| 6 | program_id | Pubkey |
| 7… | remaining | Vec< |
RemoveAssetsFromGroupV1#
Discriminator 24 · data RemoveAssetsFromGroupV1 · accounts RemoveAssetsFromGroupV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveAssetsFromGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of RemoveAssetsFromGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
RemoveCollectionExternalPluginAdapterV1#
Discriminator 19 · data RemoveCollectionExternalPluginAdapterV1 · accounts RemoveCollectionExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveCollectionExternalPluginAdapterV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of RemoveCollectionExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
RemoveCollectionPluginV1#
Discriminator 05 · data RemoveCollectionPluginV1 · accounts RemoveCollectionPluginV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveCollectionPluginV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of RemoveCollectionPluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
RemoveCollectionsFromGroupV1#
Discriminator 22 · data RemoveCollectionsFromGroupV1 · accounts RemoveCollectionsFromGroupV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveCollectionsFromGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of RemoveCollectionsFromGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
RemoveExternalPluginAdapterV1#
Discriminator 18 · data RemoveExternalPluginAdapterV1 · accounts RemoveExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveExternalPluginAdapterV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of RemoveExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
RemoveGroupsFromGroupV1#
Discriminator 26 · data RemoveGroupsFromGroupV1 · accounts RemoveGroupsFromGroupV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemoveGroupsFromGroupV1Args |
Required accounts: 4; extras go to remaining.
Fields of RemoveGroupsFromGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | parent_ | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4… | remaining | Vec< |
RemovePluginV1#
Discriminator 04 · data RemovePluginV1 · accounts RemovePluginV1InstructionAccounts.
| Field | Type |
|---|---|
remove_ | RemovePluginV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of RemovePluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
RevokeCollectionPluginAuthorityV1#
Discriminator 0b · data RevokeCollectionPluginAuthorityV1 · accounts RevokeCollectionPluginAuthorityV1InstructionAccounts.
| Field | Type |
|---|---|
revoke_ | RevokeCollectionPluginAuthorityV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of RevokeCollectionPluginAuthorityV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
RevokePluginAuthorityV1#
Discriminator 0a · data RevokePluginAuthorityV1 · accounts RevokePluginAuthorityV1InstructionAccounts.
| Field | Type |
|---|---|
revoke_ | RevokePluginAuthorityV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of RevokePluginAuthorityV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
TransferV1#
Discriminator 0e · data TransferV1 · accounts TransferV1InstructionAccounts.
| Field | Type |
|---|---|
transfer_ | TransferV1Args |
Required accounts: 5 (7 listed); extras go to remaining.
Fields of TransferV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | new_owner | Pubkey |
| 5 | system_ | Option< |
| 6 | log_wrapper | Option< |
| 7… | remaining | Vec< |
UpdateCollectionExternalPluginAdapterV1#
Discriminator 1b · data UpdateCollectionExternalPluginAdapterV1 · accounts UpdateCollectionExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateCollectionExternalPluginAdapterV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of UpdateCollectionExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
UpdateCollectionInfoV1#
Discriminator 20 · data UpdateCollectionInfoV1 · accounts UpdateCollectionInfoV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateCollectionInfoV1Args |
Required accounts: 2; extras go to remaining.
Fields of UpdateCollectionInfoV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | bubblegum_ | Pubkey |
| 2… | remaining | Vec< |
UpdateCollectionPluginV1#
Discriminator 07 · data UpdateCollectionPluginV1 · accounts UpdateCollectionPluginV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateCollectionPluginV1Args |
Required accounts: 4 (5 listed); extras go to remaining.
Fields of UpdateCollectionPluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | system_ | Pubkey |
| 4 | log_wrapper | Option< |
| 5… | remaining | Vec< |
UpdateCollectionV1#
Discriminator 10 · data UpdateCollectionV1 · accounts UpdateCollectionV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateCollectionV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of UpdateCollectionV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | new_ | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
UpdateExternalPluginAdapterV1#
Discriminator 1a · data UpdateExternalPluginAdapterV1 · accounts UpdateExternalPluginAdapterV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateExternalPluginAdapterV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of UpdateExternalPluginAdapterV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
UpdateGroupV1#
Discriminator 29 · data UpdateGroupV1 · accounts UpdateGroupV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateGroupV1Args |
Required accounts: 5; extras go to remaining.
Fields of UpdateGroupV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | group | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | new_ | Option< |
| 4 | system_ | Pubkey |
| 5… | remaining | Vec< |
UpdatePluginV1#
Discriminator 06 · data UpdatePluginV1 · accounts UpdatePluginV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdatePluginV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of UpdatePluginV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
UpdateV1#
Discriminator 0f · data UpdateV1 · accounts UpdateV1InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of UpdateV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
UpdateV2#
Discriminator 1e · data UpdateV2 · accounts UpdateV2InstructionAccounts.
| Field | Type |
|---|---|
update_ | UpdateV2Args |
Required accounts: 6 (7 listed); extras go to remaining.
Fields of UpdateV2InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | new_ | Option< |
| 5 | system_ | Pubkey |
| 6 | log_wrapper | Option< |
| 7… | remaining | Vec< |
WriteCollectionExternalPluginAdapterDataV1#
Discriminator 1d · data WriteCollectionExternalPluginAdapterDataV1 · accounts WriteCollectionExternalPluginAdapterDataV1InstructionAccounts.
| Field | Type |
|---|---|
write_ | WriteCollectionExternalPluginAdapterDataV1Args |
Required accounts: 5 (6 listed); extras go to remaining.
Fields of WriteCollectionExternalPluginAdapterDataV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | collection | Pubkey |
| 1 | payer | Pubkey |
| 2 | authority | Option< |
| 3 | buffer | Option< |
| 4 | system_ | Pubkey |
| 5 | log_wrapper | Option< |
| 6… | remaining | Vec< |
WriteExternalPluginAdapterDataV1#
Discriminator 1c · data WriteExternalPluginAdapterDataV1 · accounts WriteExternalPluginAdapterDataV1InstructionAccounts.
| Field | Type |
|---|---|
write_ | WriteExternalPluginAdapterDataV1Args |
Required accounts: 6 (7 listed); extras go to remaining.
Fields of WriteExternalPluginAdapterDataV1InstructionAccounts, in account order:
| # | Field | Type |
|---|---|---|
| 0 | asset | Pubkey |
| 1 | collection | Option< |
| 2 | payer | Pubkey |
| 3 | authority | Option< |
| 4 | buffer | Option< |
| 5 | system_ | Pubkey |
| 6 | log_wrapper | Option< |
| 7… | remaining | Vec< |
Accounts#
Variants of MplCoreAccount. Each wraps a boxed struct from carbon_. decode_ only considers accounts owned by PROGRAM_ID and returns the first variant that matches.
AssetV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
owner | Pubkey |
update_ | UpdateAuthority |
name | String |
uri | String |
seq | Option<u64> |
CollectionV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
update_ | Pubkey |
name | String |
uri | String |
num_minted | u32 |
current_ | u32 |
GroupV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
update_ | Pubkey |
name | String |
uri | String |
collections | Vec<Pubkey> |
groups | Vec<Pubkey> |
parent_ | Vec<Pubkey> |
assets | Vec<Pubkey> |
HashedAssetV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
hash | [u8; 32] |
PluginHeaderV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
plugin_ | u64 |
PluginRegistryV1#
No discriminator (matched by Borsh layout) · accounts::.
| Field | Type |
|---|---|
key | Key |
registry | Vec< |
external_ | Vec< |
Types#
Types used by the instructions, accounts and events above, exported from carbon_.
AddAssetsToGroupV1Args#
Struct types::.
No fields.
AddBlocker#
Struct types::.
No fields.
AddCollectionExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
init_info | ExternalPluginAdapterInitInfo |
AddCollectionPluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin | Plugin |
init_ | Option< |
AddCollectionsToGroupV1Args#
Struct types::.
No fields.
AddExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
init_info | ExternalPluginAdapterInitInfo |
AddGroupsToGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
groups | Vec<Pubkey> |
AddPluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin | Plugin |
init_ | Option< |
AgentIdentity#
Struct types::.
| Field | Type |
|---|---|
uri | String |
AgentIdentityInitInfo#
Struct types::.
| Field | Type |
|---|---|
uri | String |
init_ | Option< |
lifecycle_ | Vec< |
AgentIdentityUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
uri | Option< |
lifecycle_ | Option< |
AppData#
Struct types::.
| Field | Type |
|---|---|
data_ | Authority |
schema | ExternalPluginAdapterSchema |
AppDataInitInfo#
Struct types::.
| Field | Type |
|---|---|
data_ | Authority |
init_ | Option< |
schema | Option< |
AppDataUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
schema | Option< |
ApproveCollectionPluginAuthorityV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
new_ | Authority |
ApprovePluginAuthorityV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
new_ | Authority |
Attribute#
Struct types::.
| Field | Type |
|---|---|
key | String |
value | String |
Attributes#
Struct types::.
| Field | Type |
|---|---|
attribute_ | Vec< |
Authority#
Enum types::.
| Variant | Fields |
|---|---|
None | |
Owner | |
UpdateAuthority | |
Address | address: Pubkey |
Autograph#
Struct types::.
| Field | Type |
|---|---|
signatures | Vec< |
AutographSignature#
Struct types::.
| Field | Type |
|---|---|
address | Pubkey |
message | String |
BubblegumV2#
Struct types::.
No fields.
BurnCollectionV1Args#
Struct types::.
| Field | Type |
|---|---|
compression_ | Option< |
BurnDelegate#
Struct types::.
No fields.
BurnV1Args#
Struct types::.
| Field | Type |
|---|---|
compression_ | Option< |
CloseGroupV1Args#
Struct types::.
No fields.
CompressionProof#
Struct types::.
| Field | Type |
|---|---|
owner | Pubkey |
update_ | UpdateAuthority |
name | String |
uri | String |
seq | u64 |
plugins | Vec< |
CompressV1Args#
Struct types::.
No fields.
CreateCollectionV1Args#
Struct types::.
| Field | Type |
|---|---|
name | String |
uri | String |
plugins | Option< |
CreateCollectionV2Args#
Struct types::.
| Field | Type |
|---|---|
name | String |
uri | String |
plugins | Option< |
external_ | Option< |
CreateGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
name | String |
uri | String |
relationships | Vec< |
CreateV1Args#
Struct types::.
| Field | Type |
|---|---|
data_state | DataState |
name | String |
uri | String |
plugins | Option< |
CreateV2Args#
Struct types::.
| Field | Type |
|---|---|
data_state | DataState |
name | String |
uri | String |
plugins | Option< |
external_ | Option< |
Creator#
Struct types::.
| Field | Type |
|---|---|
address | Pubkey |
percentage | u8 |
DataSection#
Struct types::.
| Field | Type |
|---|---|
parent_key | LinkedDataKey |
schema | ExternalPluginAdapterSchema |
DataSectionInitInfo#
Struct types::.
| Field | Type |
|---|---|
parent_key | LinkedDataKey |
schema | ExternalPluginAdapterSchema |
DataSectionUpdateInfo#
Struct types::.
No fields.
DataState#
Enum types::.
| Variant |
|---|
AccountState |
LedgerState |
DecompressV1Args#
Struct types::.
| Field | Type |
|---|---|
compression_ | CompressionProof |
Edition#
Struct types::.
| Field | Type |
|---|---|
number | u32 |
ExecuteV1Args#
Struct types::.
| Field | Type |
|---|---|
instruction_ | Vec<u8> |
ExternalCheckResult#
Struct types::.
| Field | Type |
|---|---|
flags | u32 |
ExternalPluginAdapter#
Enum types::.
| Variant | Fields |
|---|---|
LifecycleHook | LifecycleHook |
Oracle | Oracle |
AppData | AppData |
LinkedLifecycleHook | LinkedLifecycleHook |
LinkedAppData | LinkedAppData |
DataSection | DataSection |
AgentIdentity | AgentIdentity |
ExternalPluginAdapterInitInfo#
Enum types::.
| Variant | Fields |
|---|---|
LifecycleHook | LifecycleHookInitInfo |
Oracle | OracleInitInfo |
AppData | AppDataInitInfo |
LinkedLifecycleHook | LinkedLifecycleHookInitInfo |
LinkedAppData | LinkedAppDataInitInfo |
DataSection | DataSectionInitInfo |
AgentIdentity | AgentIdentityInitInfo |
ExternalPluginAdapterKey#
Enum types::.
| Variant | Fields |
|---|---|
LifecycleHook | Pubkey |
Oracle | Pubkey |
AppData | Authority |
LinkedLifecycleHook | Pubkey |
LinkedAppData | Authority |
DataSection | LinkedDataKey |
AgentIdentity |
ExternalPluginAdapterSchema#
Enum types::.
| Variant |
|---|
Binary |
Json |
MsgPack |
ExternalPluginAdapterType#
Enum types::.
| Variant |
|---|
LifecycleHook |
Oracle |
AppData |
LinkedLifecycleHook |
LinkedAppData |
DataSection |
AgentIdentity |
ExternalPluginAdapterUpdateInfo#
Enum types::.
| Variant | Fields |
|---|---|
LifecycleHook | LifecycleHookUpdateInfo |
Oracle | OracleUpdateInfo |
AppData | AppDataUpdateInfo |
LinkedLifecycleHook | LinkedLifecycleHookUpdateInfo |
LinkedAppData | LinkedAppDataUpdateInfo |
AgentIdentity | AgentIdentityUpdateInfo |
ExternalRegistryRecord#
Struct types::.
| Field | Type |
|---|---|
plugin_type | ExternalPluginAdapterType |
authority | Authority |
lifecycle_ | Option< |
offset | u64 |
data_offset | Option<u64> |
data_len | Option<u64> |
ExternalValidationResult#
Enum types::.
| Variant |
|---|
Approved |
Rejected |
Pass |
ExtraAccount#
Enum types::.
| Variant | Fields |
|---|---|
PreconfiguredProgram | is_signer: bool, is_writable: bool |
PreconfiguredCollection | is_signer: bool, is_writable: bool |
PreconfiguredOwner | is_signer: bool, is_writable: bool |
PreconfiguredRecipient | is_signer: bool, is_writable: bool |
PreconfiguredAsset | is_signer: bool, is_writable: bool |
CustomPda | seeds: Vec<Seed>, custom_: Option<, is_signer: bool, is_writable: bool |
Address | address: Pubkey, is_signer: bool, is_writable: bool |
FreezeDelegate#
Struct types::.
| Field | Type |
|---|---|
frozen | bool |
FreezeExecute#
Struct types::.
| Field | Type |
|---|---|
frozen | bool |
Groups#
Struct types::.
| Field | Type |
|---|---|
groups | Vec<Pubkey> |
HashablePluginSchema#
Struct types::.
HashedAssetSchema#
Struct types::.
| Field | Type |
|---|---|
asset_hash | [u8; 32] |
plugin_ | Vec< |
HookableLifecycleEvent#
Enum types::.
| Variant |
|---|
Create |
Transfer |
Burn |
Update |
Execute |
ImmutableMetadata#
Struct types::.
No fields.
Key#
Enum types::Key.
| Variant |
|---|
Uninitialized |
AssetV1 |
HashedAssetV1 |
PluginHeaderV1 |
PluginRegistryV1 |
CollectionV1 |
GroupV1 |
LifecycleHook#
Struct types::.
| Field | Type |
|---|---|
hooked_ | Pubkey |
extra_ | Option< |
data_ | Option< |
schema | ExternalPluginAdapterSchema |
LifecycleHookInitInfo#
Struct types::.
| Field | Type |
|---|---|
hooked_ | Pubkey |
init_ | Option< |
lifecycle_ | Vec< |
extra_ | Option< |
data_ | Option< |
schema | Option< |
LifecycleHookUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
lifecycle_ | Option< |
extra_ | Option< |
schema | Option< |
LinkedAppData#
Struct types::.
| Field | Type |
|---|---|
data_ | Authority |
schema | ExternalPluginAdapterSchema |
LinkedAppDataInitInfo#
Struct types::.
| Field | Type |
|---|---|
data_ | Authority |
init_ | Option< |
schema | Option< |
LinkedAppDataUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
schema | Option< |
LinkedDataKey#
Enum types::.
| Variant | Fields |
|---|---|
LinkedLifecycleHook | Pubkey |
LinkedAppData | Authority |
LinkedLifecycleHook#
Struct types::.
| Field | Type |
|---|---|
hooked_ | Pubkey |
extra_ | Option< |
data_ | Option< |
schema | ExternalPluginAdapterSchema |
LinkedLifecycleHookInitInfo#
Struct types::.
| Field | Type |
|---|---|
hooked_ | Pubkey |
init_ | Option< |
lifecycle_ | Vec< |
extra_ | Option< |
data_ | Option< |
schema | Option< |
LinkedLifecycleHookUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
lifecycle_ | Option< |
extra_ | Option< |
schema | Option< |
MasterEdition#
Struct types::.
| Field | Type |
|---|---|
max_supply | Option<u32> |
name | Option< |
uri | Option< |
Oracle#
Struct types::.
| Field | Type |
|---|---|
base_ | Pubkey |
base_ | Option< |
results_ | ValidationResultsOffset |
OracleInitInfo#
Struct types::.
| Field | Type |
|---|---|
base_ | Pubkey |
init_ | Option< |
lifecycle_ | Vec< |
base_ | Option< |
results_ | Option< |
OracleUpdateInfo#
Struct types::.
| Field | Type |
|---|---|
lifecycle_ | Option< |
base_ | Option< |
results_ | Option< |
OracleValidation#
Enum types::.
| Variant | Fields |
|---|---|
Uninitialized | |
V1 | create: ExternalValidationResult, transfer: ExternalValidationResult, burn: ExternalValidationResult, update: ExternalValidationResult |
PermanentBurnDelegate#
Struct types::.
No fields.
PermanentFreezeDelegate#
Struct types::.
| Field | Type |
|---|---|
frozen | bool |
PermanentFreezeExecute#
Struct types::.
| Field | Type |
|---|---|
frozen | bool |
PermanentTransferDelegate#
Struct types::.
No fields.
Plugin#
Enum types::.
| Variant | Fields |
|---|---|
Royalties | Royalties |
FreezeDelegate | FreezeDelegate |
BurnDelegate | BurnDelegate |
TransferDelegate | TransferDelegate |
UpdateDelegate | UpdateDelegate |
PermanentFreezeDelegate | PermanentFreezeDelegate |
Attributes | Attributes |
PermanentTransferDelegate | PermanentTransferDelegate |
PermanentBurnDelegate | PermanentBurnDelegate |
Edition | Edition |
MasterEdition | MasterEdition |
AddBlocker | AddBlocker |
ImmutableMetadata | ImmutableMetadata |
VerifiedCreators | VerifiedCreators |
Autograph | Autograph |
BubblegumV2 | BubblegumV2 |
FreezeExecute | FreezeExecute |
PermanentFreezeExecute | PermanentFreezeExecute |
Groups | Groups |
PluginAuthorityPair#
Struct types::.
| Field | Type |
|---|---|
plugin | Plugin |
authority | Option< |
PluginType#
Enum types::.
| Variant |
|---|
Royalties |
FreezeDelegate |
BurnDelegate |
TransferDelegate |
UpdateDelegate |
PermanentFreezeDelegate |
Attributes |
PermanentTransferDelegate |
PermanentBurnDelegate |
Edition |
MasterEdition |
AddBlocker |
ImmutableMetadata |
VerifiedCreators |
Autograph |
BubblegumV2 |
FreezeExecute |
PermanentFreezeExecute |
Groups |
RegistryRecord#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
authority | Authority |
offset | u64 |
RelationshipEntry#
Struct types::.
| Field | Type |
|---|---|
kind | RelationshipKind |
key | Pubkey |
RelationshipKind#
Enum types::.
| Variant |
|---|
Collection |
ChildGroup |
ParentGroup |
Asset |
RemoveAssetsFromGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
assets | Vec<Pubkey> |
RemoveCollectionExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
RemoveCollectionPluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
RemoveCollectionsFromGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
collections | Vec<Pubkey> |
RemoveExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
RemoveGroupsFromGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
groups | Vec<Pubkey> |
RemovePluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
RevokeCollectionPluginAuthorityV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
RevokePluginAuthorityV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin_type | PluginType |
Royalties#
Struct types::.
| Field | Type |
|---|---|
basis_ | u16 |
creators | Vec< |
rule_set | RuleSet |
RuleSet#
Enum types::.
| Variant | Fields |
|---|---|
None | |
ProgramAllowList | Vec<Pubkey> |
ProgramDenyList | Vec<Pubkey> |
Seed#
Enum types::Seed.
| Variant | Fields |
|---|---|
Collection | |
Owner | |
Recipient | |
Asset | |
Address | Pubkey |
Bytes | Vec<u8> |
TransferDelegate#
Struct types::.
No fields.
TransferV1Args#
Struct types::.
| Field | Type |
|---|---|
compression_ | Option< |
UpdateAuthority#
Enum types::.
| Variant | Fields |
|---|---|
None | |
Address | Pubkey |
Collection | Pubkey |
UpdateCollectionExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
update_info | ExternalPluginAdapterUpdateInfo |
UpdateCollectionInfoV1Args#
Struct types::.
| Field | Type |
|---|---|
update_type | UpdateType |
amount | u32 |
UpdateCollectionPluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin | Plugin |
UpdateCollectionV1Args#
Struct types::.
| Field | Type |
|---|---|
new_name | Option< |
new_uri | Option< |
UpdateDelegate#
Struct types::.
| Field | Type |
|---|---|
additional_ | Vec<Pubkey> |
UpdateExternalPluginAdapterV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
update_info | ExternalPluginAdapterUpdateInfo |
UpdateGroupV1Args#
Struct types::.
| Field | Type |
|---|---|
new_name | Option< |
new_uri | Option< |
UpdatePluginV1Args#
Struct types::.
| Field | Type |
|---|---|
plugin | Plugin |
UpdateType#
Enum types::.
| Variant |
|---|
Mint |
Add |
Remove |
UpdateV1Args#
Struct types::.
| Field | Type |
|---|---|
new_name | Option< |
new_uri | Option< |
new_ | Option< |
UpdateV2Args#
Struct types::.
| Field | Type |
|---|---|
new_name | Option< |
new_uri | Option< |
new_ | Option< |
ValidationResult#
Enum types::.
| Variant |
|---|
Approved |
Rejected |
Pass |
ForceApproved |
ValidationResultsOffset#
Enum types::.
| Variant | Fields |
|---|---|
NoOffset | |
Anchor | |
Custom | u64 |
VerifiedCreators#
Struct types::.
| Field | Type |
|---|---|
signatures | Vec< |
VerifiedCreatorsSignature#
Struct types::.
| Field | Type |
|---|---|
address | Pubkey |
verified | bool |
WriteCollectionExternalPluginAdapterDataV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
data | Option< |
WriteExternalPluginAdapterDataV1Args#
Struct types::.
| Field | Type |
|---|---|
key | ExternalPluginAdapterKey |
data | Option< |