React SDK · Pools

Pools

No single service describes a pool: custodial TVL comes from the inventory service, volume, open interest and revenue from the solver, and the catalog from the listing backend. One card per read, so it stays obvious which figure came from where. A dash means the service reported nothing, which is not the same as zero.

useInventoryTvl
read
System-wide custodial TVL from the inventory service — the whole custodial system, not just listed markets.
Total value locked
useMarketInfo
read
Traded value across every market, over 24 hours and since launch. Aggregate totals are Enigma-only.
Volume · 24h
Volume · lifetime
useNotionalCapAll
read
Open and still-available notional across every market the solver quotes.
Open interest
AvailableNotional the solver will still take

useListingMarkets
read
Search, filter, sort and page the permissionless-listing catalog. Every control is server-side.
Loading…
PoolChainStatusMax lev.
Loading the catalog…
Rows per page
Showing 00 of 0
Page 1 of 1

Pool

Pick a pool — its TVL, volume, revenue, rewards and tables load below.

useInventoryTvlHistory
read
One pool's custodial TVL over time, from the inventory service — the per-market twin of the page's system-wide TVL.
Pick a pool above to read its TVL history.
useTradeVolume
read
One pool's traded notional per day, from the solver — keyed by the pool's solver market id, so only a listed pool has a series. Enigma-only.
Pick a pool above to read its daily volume.
useSolverRevenue
read
One pool's solver revenue, split into hedger-fee and funding shares — keyed by the pool's solver market id, so only a listed pool has a figure. Enigma-only.
Pick a pool above to read its revenue.
usePoolRewardChart + usePoolTotalReward
read
A pool's daily LP rewards and its trailing-window total, from the listing backend. Public — no sign-in.
Pick a pool above to read its rewards.
Pool detail
read
One pool's inventory, quote book, pending orders, realized history and cash movements — five reads across three backends.
Pick a pool above to see its tables.

authenticateListing
write
SIWE (EIP-4361) login to the listing backend — sign in once to get the bearer token every authed card below reuses. Enigma-only.
Signed out. Sign in to mint a bearer token for the authed reads and writes below.
getListingConfig
read
Listing config — the deposit guidance, listing fee, rate limits, reward share, and supported deposit chains to read before creating a pool. Public, Enigma-only.
Loading listing config…
getWeeklyListingLimit
read
Weekly listing limit — the new pools that can still be listed this week across the protocol. The create-pool flow blocks at 0. Public, Enigma-only.
Loading the weekly limit…
getListingStatus
read
Listing status — a market's lifecycle status and where it sits in the listing pipeline (current step, steps, retries, errors), by token address and deposit chain. Public; polls while the listing is still progressing. Enigma-only.
Enter a market address to read its listing status.
addMarket
write
Create pool — list a new token with the listing backend. Sign in once, submit the token and its pool economics, then seed the returned deposit wallet. Enigma-only.
Max leverage is fixed at 20 for now. The tax, whitelist, extra-chain and CEX options are sent as defaults (false / []).
Sign in to create a pool.

useUserListingMarkets
read
Your Pools — every listing market that generated a deposit address for the signed-in wallet, of any status, with your deposit, share and revenue. Filter by status (e.g. Rejected) at the top. Sign in once, then the table loads. Enigma-only.
Sign in to load the pools that hold a deposit address for your wallet.
useUserRewardChart + useUserTotalReward
read
Your LP rewards over time across every pool you earn in, plus the 30-day total. Authed, and not scoped to one pool. Enigma-only.
Sign in to read your rewards.
getUserTransactions
read
Your transactions — every pool deposit and withdrawal you've made, across all pools, newest first. Sign in once. Enigma-only.
Sign in to read your transactions.

Pool

Pick a pool — your balance, deposit address, withdrawal, claim, claim history and (if rejected) refund or retry below are for it.

getUserProfit
read
Your pool balance — the signed-in user's LP position in one pool: balance in USDC and tokens, claimable and claimed rewards, deposit, LP shares, and pending withdrawal. Sign in once, pick a pool above. Enigma-only.
Sign in to read your LP position in a pool.
getDepositAddress
read
Deposit address — get (or create) the signed-in user's deposit wallet for one market. Sign in once, pick a market, then send funds to the address to deposit into it. Enigma-only.
Sign in to read a market’s deposit address.
updateListingMarketConfig
write
Market config — submit your max-leverage and buyback opinion for one pool. The service deposit-weights every LP's opinion, so this nudges the pool rather than overwriting it. Enigma-only.
Pool buyback
Pool leverage
Your share
Your buybackBlank until you have configured this pool.
Your leverage

Share of profit used to buy back the pool's token. Leave blank to keep your current value.

Highest leverage the pool offers traders. Leave blank to keep your current value.

New pool buyback
New pool leverageDeposit-weighted estimate. The exact figure is set when you save.
Sign in to configure a pool.
withdrawLp
write
Withdraw — queue a withdrawal of your LP shares from one pool. Sign in once, pick a pool, enter an amount up to your available LP, and choose where to send it. Enigma-only.

Sign in and pick a pool to see your available LP.

Where the withdrawn liquidity is sent. Defaults to your connected wallet.

Sign in to withdraw LP from a pool.
cancelWithdraw
write
Cancel withdrawal — remove one of your queued LP withdrawals before it settles. Sign in once, pick a pool above; your pending withdrawals list here with a Cancel each. Enigma-only.
Sign in to see and cancel your pending withdrawals.
claimProfit
write
Claim — move your accrued LP rewards from one pool to a sub-account as USDC. Sign in once, pick a pool, choose which sub-account receives the USDC, and claim your full claimable balance. Enigma-only.
Claimable rewards0 USDC

Sign in and pick a pool to see your claimable rewards.

Sign in to claim pool rewards.
getClaimHistory
read
Claim history — your past pool-reward claims, newest first. Sign in once; pick a pool above to narrow it, or leave it to see every pool. Enigma-only.
Sign in to read your claim history.
refundMarket
write
Refund — reclaim your deposit on a rejected market. Sign in once, pick a rejected pool above, choose where to send the refund. Enigma-only.

Sign in and pick a rejected pool to refund its deposit.

Sign in to refund a rejected market's deposit.
retryListing
write
Retry listing — re-submit a rejected market instead of refunding it. Sign in once, pick a rejected pool above. Retries are capped and rate-limited. Enigma-only.
Retry allowance
Sign in to retry a rejected market's listing.