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:

See: ApproveUseAuthorityArgs

Accounts:

  1. [writable] Use Authority Record PDA
  2. [writable] Owned Token Account Of Mint
  3. [signer] Owner
  4. [signer] Payer
  5. [] A Use Authority
  6. [] Metadata account
  7. [] Mint of Metadata
  8. [] Program As Signer (Burner)
  9. [] Token program
  10. [] System program
  11. Optional [] Rent info