React SDK · Solvers

Solvers · HyperEVM

The solver is an off-chain service, not a contract. Fetch tradable markets (contract symbols) — symbols, leverage, fees, and state — straight from the chain's solver.

getLockedParams
read
Fetch solver locked params for a selected market and leverage.

Select a market first.

Select a market and leverage to read locked params.
getNotionalCapBySymbolId
read
Fetch the solver's per-market notional cap (available liquidity in dollars).
Auto-refresh every 15s
Select a market to read its notional cap.
getNotionalCapAll
read
Fetch aggregate open interest and total cap across every solver market.
Auto-refresh every 15s
Loading…
getOpenInterestBySymbolId
read
Read just the open interest and total cap for one market.
Auto-refresh every 15s
Select a market to read open interest.
getFundingInfo
read
Fetch per-market funding rates (Long/Short), next funding time, and epoch length from the solver. Positive receives, negative pays.
Carry horizon

Projected funding = per-epoch rate × (period ÷ epoch). Linear, not compounded.

getEstimatedPrice
read
Simulate an open or close and get the price the solver would fill it at — read-only, no order placed. Positive impact = fill above your request price.
Side · entry
Estimated price
getMarketInfo
read
Fetch per-market 24h trading volume and lifetime value from the solver, plus the aggregate totals across every market.
getMarkets
read
Fetch all tradable markets (contract symbols) from the solver.
getInstantOpens
read
Read a sub-account's pending off-chain instant-open orders from the solver.
Run the read to see pending instant opens.
getSolverErrorCodes
read
Fetch the solver's error-code → message map and resolve the errorCode from a failed close/open notification to its message.

The numeric error_code from a failed notification (e.g. 2000).

Loading error codes…
Loading error codes…
useManagedQuotes
read
Reconcile a partyA's on-chain positions, pending instant-opens, and pending instant-closes into one lifecycle-tagged quote feed.
Disconnected
Enter a partyA address to load its managed quotes.

instantOpen
write
Open a lowcap instant position via the InstantLayer v2 flow.

Enter a wallet address to load subaccounts.

Select a subaccount or enter an address.

sessionKeymissingConnect a wallet to initialize.Initialize
Pick a subaccount to continue.
instantClose
write
Close (or partially close) a lowcap instant position via the InstantLayer v2 flow.

Load your subaccounts, expand one, and pick a VA — or paste an address directly.

sessionKeymissingConnect a wallet to initialize.Initialize
Enter a partyA (VA address) to continue.