Coda by Ian Macalinao
    Preparing search index...

    Type Alias UtilizeInput<TAccountMetadata, TAccountTokenAccount, TAccountMint, TAccountUseAuthority, TAccountOwner, TAccountTokenProgram, TAccountAtaProgram, TAccountSystemProgram, TAccountRent, TAccountUseAuthorityRecord, TAccountBurner>

    type UtilizeInput<
        TAccountMetadata extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountUseAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountOwner extends InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountAtaProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRent extends InstructionAccountInput = InstructionAccountInput,
        TAccountUseAuthorityRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountBurner extends InstructionAccountInput = InstructionAccountInput,
    > = {
        ataProgram?: TAccountAtaProgram;
        burner?: TAccountBurner;
        metadata: TAccountMetadata;
        mint: TAccountMint;
        owner: TAccountOwner;
        rent?: TAccountRent;
        systemProgram?: TAccountSystemProgram;
        tokenAccount: TAccountTokenAccount;
        tokenProgram?: TAccountTokenProgram;
        useAuthority: TAccountUseAuthority;
        useAuthorityRecord?: TAccountUseAuthorityRecord;
        utilizeArgs: UtilizeInstructionDataArgs["utilizeArgs"];
    }

    Type Parameters

    • TAccountMetadata extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountUseAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountAtaProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountRent extends InstructionAccountInput = InstructionAccountInput
    • TAccountUseAuthorityRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountBurner extends InstructionAccountInput = InstructionAccountInput
    Index
    ataProgram?: TAccountAtaProgram

    Associated Token program

    Program As Signer (Burner)

    Metadata account

    Mint of the Metadata

    Owner

    Rent info

    systemProgram?: TAccountSystemProgram

    System program

    tokenAccount: TAccountTokenAccount

    Token Account Of NFT

    tokenProgram?: TAccountTokenProgram

    Token program

    useAuthority: TAccountUseAuthority

    A Use Authority / Can be the current Owner of the NFT

    useAuthorityRecord?: TAccountUseAuthorityRecord

    Use Authority Record PDA If present the program Assumes a delegated use authority