Function mpl_token_metadata::instruction::approve_use_authority
source · [−]pub fn approve_use_authority(
program_id: Pubkey,
use_authority_record: Pubkey,
user: Pubkey,
owner: Pubkey,
payer: Pubkey,
owner_token_account: Pubkey,
metadata: Pubkey,
mint: Pubkey,
burner: Pubkey,
number_of_uses: u64
) -> Instruction
Expand description
Approve Use Authority
Approve another account to call utilize on this NFT
Args:
Accounts:
[writable]
Use Authority Record PDA[writable]
Owned Token Account Of Mint[signer]
Owner[signer]
Payer[]
A Use Authority[]
Metadata account[]
Mint of Metadata[]
Program As Signer (Burner)[]
Token program[]
System program[]
Rent info