Struct mpl_token_metadata::instruction::builders::Revoke
source · pub struct Revoke {Show 15 fields
pub delegate_record: Option<Pubkey>,
pub delegate: Pubkey,
pub metadata: Pubkey,
pub master_edition: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub mint: Pubkey,
pub token: Option<Pubkey>,
pub authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Option<Pubkey>,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
pub args: RevokeArgs,
}
Fields§
§delegate_record: Option<Pubkey>
§delegate: Pubkey
§metadata: Pubkey
§master_edition: Option<Pubkey>
§token_record: Option<Pubkey>
§mint: Pubkey
§token: Option<Pubkey>
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§spl_token_program: Option<Pubkey>
§args: RevokeArgs
Trait Implementations§
source§impl InstructionBuilder for Revoke
impl InstructionBuilder for Revoke
Revokes a delegate.
Accounts:
[optional, writable]
Delegate record account[]
Delegated owner[writable]
Metadata account[optional]
Master Edition account[optional, writable]
Token record account[]
Mint account[optional, writable]
Token account[signer]
Update authority or token owner[signer, writable]
Payer[]
System Program[]
Instructions sysvar account[optional]
SPL Token Program[optional]
Token Authorization Rules program[optional]
Token Authorization Rules account