Fetch a signed TWAP oracle update
Returns a signed TWAP price update for the given markets — required before a deposit or withdrawal, since the vault rejects a stake whose TWAP is stale. The response has two modes. On-chain mode (txHash present): the oracle already refreshed on-chain and you submit nothing. Signed mode (markets + signature): prepend RobinTwapOracle.submitTwap({ markets, signature }) to your deposit/withdraw batch so the refresh and the vault action land atomically. If every returned market has required: false and marketEndedAt: "0", the update is a no-op and you can skip submitTwap. This is an action, not a data read: it asks Robin’s operator-keyed signer for a fresh price (which it may itself submit on-chain). conditionIds are normalized to lowercase.
Body
Unique conditionIds for every market in your upcoming deposit/withdraw batch.
1 - 25 elements32-byte Polymarket condition id, hex.
^0x[a-fA-F0-9]{64}$Response
A TWAP update — either on-chain mode or a signed payload to submit.
- Option 1
- Option 2
A TWAP update in one of two modes, discriminated by txHash (on-chain mode) vs markets + signature (signed mode).