Type Alias ParsedClosePositionWithTokenExtensionsInstruction<TProgram, TAccountMetas>

ParsedClosePositionWithTokenExtensionsInstruction: {
    accounts: {
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[0];
        positionMint: TAccountMetas[3];
        positionTokenAccount: TAccountMetas[4];
        receiver: TAccountMetas[1];
        token2022Program: TAccountMetas[5];
    };
    data: ClosePositionWithTokenExtensionsInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]

Type declaration