Coda by Ian Macalinao
    Preparing search index...

    Interface ParsedResizeInstruction<TProgram, TAccountMetas>

    interface ParsedResizeInstruction<
        TProgram extends string = typeof TOKEN_METADATA_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > {
        accounts: {
            authority?: TAccountMetas[4];
            edition: TAccountMetas[1];
            metadata: TAccountMetas[0];
            mint: TAccountMetas[2];
            payer: TAccountMetas[3];
            systemProgram: TAccountMetas[6];
            token?: TAccountMetas[5];
        };
        data: ResizeInstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

    Index

    Properties

    accounts: {
        authority?: TAccountMetas[4];
        edition: TAccountMetas[1];
        metadata: TAccountMetas[0];
        mint: TAccountMetas[2];
        payer: TAccountMetas[3];
        systemProgram: TAccountMetas[6];
        token?: TAccountMetas[5];
    }

    Type Declaration

    • Optionalauthority?: TAccountMetas[4]

      Owner of the asset for (p)NFTs, or mint authority for fungible assets, if different from the payer

    • edition: TAccountMetas[1]

      The master edition or edition account of the digital asset, an uninitialized account for fungible assets

    • metadata: TAccountMetas[0]

      The metadata account of the digital asset

    • mint: TAccountMetas[2]

      Mint of token asset

    • payer: TAccountMetas[3]

      The recipient of the excess rent and authority if the authority account is not present

    • systemProgram: TAccountMetas[6]

      System program

    • Optionaltoken?: TAccountMetas[5]

      Token or Associated Token account

    programAddress: Address<TProgram>