React SDK · Solvers

Solvers · HyperEVM

The solver is an off-chain service, not a contract. Fetch tradable markets, funding, caps, and Rasa-only account/state reads straight from the chain's solver.

Wallet
Not connected
Chain

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.
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.

getMarketInfo
read
Fetch per-market info from the solver — Enigma: 24h volume + lifetime value + totals; Rasa: price, 24h change, volume, notional cap.
getMarkets
read
Fetch all tradable markets (contract symbols) from the solver.
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.

getNotionalCapAll
read
Fetch aggregate open interest and total cap across every solver market.
Auto-refresh every 15s
Loading…
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
getSymbols
read
Fetch the tradable symbol catalogue from the solver — id, name, max leverage, per-side trading state, and validity. Enigma-only endpoint.
Solver
getTradeVolume
read
Fetch the enigma solver's last N daily trade-volume rows for one market (day + notional traded). Enigma-only endpoint.
Solver
getRevenueRecords
read
Fetch incremental revenue records (amount per symbol, with creation time) from the solver. Enigma-only endpoint.
Solver

getSolverBalanceInfo
read
Solver-side balance info (allocated balance / uPnL snapshots) for one account. Rasa-only endpoint.
Solver

Enter a wallet address to load subaccounts.

Pick one of the connected wallet's subaccounts or enter any account address.

Optional — defaults to the chain's AccountLayer when empty.

Pick an account (and optionally a MultiAccount) and read.
getPartyAUpnl
read
PartyA unrealized PnL as a decimal string. Rasa-only endpoint.
Solver

Enter a wallet address to load subaccounts.

Pick one of the connected wallet's subaccounts or enter any partyA address.

Pick a partyA address and read.
getSolverOpenInterest
read
Solver-wide open interest: total cap and current usage. Rasa-only endpoint.
Solver
Read to fetch the solver-wide totals.
getSolverPriceRange
read
Min/max acceptable prices for one symbol. Rasa-only endpoint.
Solver
Select a market and read.
getErrorMessage
read
Resolve one numeric solver error code to its message. Rasa-only endpoint.
Solver
Enter a code and read.
getSolverReadiness
read
Solver availability check. Rasa-only endpoint.
Solver
Check the solver's availability.

Subscription
Pick a solver and a SubAccount, then subscribe to its live notifications stream.
Disconnected
Solver

Enter a wallet address to load subaccounts.

Pick a subaccount or enter one manually.

Pick a SubAccount and subscribe to stream notifications.
Live log0
No notifications yet.
Search notifications
Search stored notifications for the selected solver. The common account / quoteId filters work for both kinds; the free-form key/value builder is the enigma-only advanced filter (every key is an exact match).
Solver

Enter a wallet address to load subaccounts.

Pick one of the connected wallet's subaccounts, enter any address, or leave empty for all accounts.

Advanced filter · enigma only
:
GETsearchNotifications· add a filter to enable
"account": undefined,
"quoteId": undefined,
"filter": {},
"size": 100
}
Pick a suggestion or add a filter, then search.

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.
addSolverWhitelist
write
Add an address to the solver's whitelist. The call mutates solver-side state. Rasa-only endpoint.
Solver
Enter an address, then add.