Structs

Enums

Instructions supported by the Metadata program.

Functions

Approve Collection Authority
Approve Use Authority
#[account(0, writable, name=“metadata”, desc=“Metadata (pda of [‘metadata’, program id, mint id])”)] #[account(1, signer, writable, name=“owner”, desc=“NFT owner”)] #[account(2, writable, name=“print_edition_mint”, desc=“Mint of the print edition NFT”)] #[account(3, writable, name=“master_edition_mint”, desc=“Mint of the original/master NFT”)] #[account(4, writable, name=“print_edition_token_account”, desc=“Token account the print edition NFT is in”)] #[account(5, name=“master_edition_token_account”, desc=“Token account the Master Edition NFT is in”)] #[account(6, writable, name=“master_edition_account”, desc=“MasterEdition2 of the original NFT”)] #[account(7, writable, name=“print_edition_account”, desc=“Print Edition account of the NFT”)] #[account(8, writable, name=“edition_marker_account”, desc=“Edition Marker PDA of the NFT”)] #[account(9, name=“spl token program”, desc=“SPL Token Program”)]
Burn NFT
Converts a master edition v1 to v2
creates a create_master_edition instruction [deprecated(since=“1.1.0”, note=“please use create_master_edition_v3 instead”)]
creates a create_master_edition instruction
Creates an CreateMetadataAccounts instruction #[deprecated(since=“1.1.0”, note=“please use create_metadata_accounts_v3 instead”)]
Creates an CreateMetadataAccounts instruction #[deprecated(since=“1.3.0”, note=“please use create_metadata_accounts_v3 instead”)]
Create a new Metadata Account
Freeze delegated account
creates a mint_edition_proxy instruction
creates a mint_new_edition_from_master_edition instruction
puff metadata account instruction
Remove Creator Verificaton
Revoke account to call verify_collection on this NFT
Revoke account to call utilize on this NFT
Allows the same Update Authority (Or Delegated Authority) on an NFT and Collection to perform update_metadata_accounts_v2 with collection and verify_collection on the NFT/Collection in one instruction
Allows the same Update Authority (Or Delegated Authority) on an NFT and Collection to perform update_metadata_accounts_v2 with collection and verify_collection on the NFT/Collection in one instruction
Sign Metadata
Thaw delegated account
Unverify Collection
Unverify Collection V2 – Supports v1.3 Collection Details
update metadata account instruction #[deprecated(since=“1.1.0”, note=“please use update_metadata_accounts_v2 instead”)]
creates a update_primary_sale_happened_via_token instruction
Utilize
Verify Collection
Verify Collection V2 – Supports v1.3 Collection Details