Account

Posts of Jupiter Dev Notifications

newest first

#178Text
Views1,150+127%vs avg
Forwards—
Reactions—
Comments—
#177Text
Views1,490+194%vs avg
Forwards—
Reactions—
Comments—
#174Text
Views1,480+192%vs avg
Forwards—
Reactions—
Comments—
#173Text
Views2,090+313%vs avg
Forwards—
Reactions—
Comments—
#168Text
Views2,550+404%vs avg
Forwards—
Reactions—
Comments—
#164Text
Views1,900+275%vs avg
Forwards—
Reactions—
Comments—
#163Link preview

Hi all, quick heads up for teams working with Jupiter's Prediction Markets API. We're shipping the next step of the fractional contracts migration on Thursday, 4 June 2026 at 6:00 AM UTC (2:00 PM SGT, UTC+8). No downtime is expected. What's happening The previous migration on 27 May was step one. On-chain storage moved to micro-contracts and the new *Micro / *Decimal fields became available. This Thursday is step two: the keeper starts executing partial / fractional fills. What this means for your integration Legacy fields like contracts and filledContracts are floored to whole numbers, the fractional part is dropped. Until Thursday, fills are always whole numbers, so this has no effect. From Thursday onwards, fills can be fractional, and any integration reading these legacy fields will get the truncated value. The *Micro fields carry the exact amount. Example (an order partially filled for 2.5 contracts): filledContracts: "2" ← legacy, floored, do NOT use filledContractsMicro: "2500000" ← exact, use this filledContractsDecimal: "2.5" ← exact, for display What you need to do before Thursday 1. Order creation: send contractsMicro instead of contracts. Send exactly one quantity field per order as providing multiple of contracts, contractsMicro, or contractsDecimal is rejected. The legacy contracts field still works for whole-contract orders but cannot express fractions. 2. Reading responses: switch any calculation or accounting logic from legacy fields to their *Micro siblings: - contracts → contractsMicro - filledContracts → filledContractsMicro - contractsSettled → contractsSettledMicro - newContracts → newContractsMicro - totalContracts → totalContractsMicro - totalActiveContracts → totalActiveContractsMicro Use *Micro for math, *Decimal for display. 3. Number types: *Micro values are returned as strings (u64/u128) and can exceed JavaScript's safe-integer range. Parse with BigInt or a decimal library, never parseFloat or Number. Those will silently produce wrong values for large positions. What's not changing USD / price fields stay in micro-USD. depositAmount is unchanged, denominated in the deposit token's native decimals (e.g. 6 for USDC). Legacy field handling Legacy whole-contract fields will remain available for backwards compatibility, we won't be removing them anytime soon. There is no firm deprecation date. However, they will continue to return values floored to whole numbers, so you must migrate to the *Micro fields to read accurate data from Thursday onwards. Full migration guide: https://gist.github.com/julianfssen/322fb55fc6f1eb575a60e7e350ebe822 If you're unsure how this affects your integration, reach out to @anmoldotsol and we'll help verify.

Open in Telegram
Views1,860+268%vs avg
Forwards—
Reactions—
Comments—
#162Text
Views1,360+169%vs avg
Forwards—
Reactions—
Comments—
#161Text

Hi all, quick heads up for teams integrating with Jupiter Prediction Markets API. We’re shipping a coordinated migration to add fractional contracts support, scheduled for Wednesday, 27 May 2026 at 6:00 AM UTC (2:00 PM SGT, UTC+8). Estimated downtime: up to ~4 hours (may complete earlier if everything goes smoothly). What’s changing Contract quantities are migrating from whole-contract units to micro-contract units, enabling fractional positions. Example: - Before: 5 - After: 5000000 micro-contracts (= 5 contracts) This enables positions such as 5.777773 contracts, partial fills with exact fractional accounting, and better compatibility with external liquidity venues. Order sizing precision: Effective fill sizes will be floored to 0.01-contract increments on the keeper to stay aligned with external venue precision. You can submit finer-grained sizes, but executed amounts will round down to the nearest 0.01. Compatibility (non-breaking at deploy time) Existing legacy fields will continue to work for backwards compatibility: - contracts - filledContracts - totalContracts New exact fields will be added: - contractsMicro - contractsDecimal USD fields remain unchanged (still micro-USD). Orderbook sizes will be returned as decimal strings. During the migration window - Trading and order creation will be paused - Claims and settlement will be paused - Read APIs may be temporarily stale or inconsistent - Integrators generally do not need to make changes to keep working after the migration Recommended action Legacy whole-contract fields will be deprecated roughly one week after the migration. Within that week, please migrate to the new exact-quantity fields: - Use *Micro fields for calculations and order creation - Use *Decimal fields for UI display - Treat legacy whole-contract fields as compatibility-only We’ll post another reminder closer to the maintenance window and confirm once the migration is complete. If you’re unsure how this affects your integration, reach out to @anmoldotsol and we’ll help verify.

Open in Telegram
Views1,340+165%vs avg
Forwards—
Reactions—
Comments—
#160Link preview
Views1,740+244%vs avg
Forwards—
Reactions—
Comments—