Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetTokenStandardInstruction<TProgram, TAccountMetadata, TAccountUpdateAuthority, TAccountMint, TAccountEdition, TRemainingAccounts>

    SetTokenStandardInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountMetadata extends string
                ? WritableAccount<TAccountMetadata>
                : TAccountMetadata,
            TAccountUpdateAuthority extends string
                ? ReadonlySignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<
                    TAccountUpdateAuthority,
                >
                : TAccountUpdateAuthority,
            TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
            ...(
                TAccountEdition extends undefined
                    ? []
                    : [
                        TAccountEdition extends string
                            ? ReadonlyAccount<TAccountEdition>
                            : TAccountEdition,
                    ]
            ),
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof TOKEN_METADATA_PROGRAM_ADDRESS
    • TAccountMetadata extends string | AccountMeta = string
    • TAccountUpdateAuthority extends string | AccountMeta = string
    • TAccountMint extends string | AccountMeta = string
    • TAccountEdition extends string | AccountMeta | undefined = undefined
    • TRemainingAccounts extends readonly AccountMeta[] = []