Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quickstart

Discover a Wealth fund at runtime, then follow the path for its fundType. Do not send a vault request to a SoDEX RWA token.

Mainnet base URL: https://mainnet-gw.sodex.dev/api/v1/wealth

There is no Testnet Wealth API. Contract addresses for vaults are on Wealth Contracts.

1. List funds

curl -sS 'https://mainnet-gw.sodex.dev/api/v1/wealth/funds' \
  -H 'Accept: application/json'

The list contains listed funds only. Select a fund by its case-sensitive fundId. fundType selects the integration path in step 3. Trading status routes escrow and CLOB funds; bridged vaults use their configured on-chain bridge route.

fundType

Product

escrow_vault

Escrow vault. A subscription escrow plus a vault.

clob

SoDEX RWA token on the order book.

bridged_vault

External vault with a bridged share token on ValueChain.

nav and aum are omitted on a clob fund. A bridged_vault omits aum, and omits nav until an external NAV exists.

2. Fund configuration

Load the selected fund's detail. Replace CXMT with its fundId.

curl -sS 'https://mainnet-gw.sodex.dev/api/v1/wealth/funds/CXMT' \
  -H 'Accept: application/json'

For escrow_vault, use data.contracts and data.chainConfig at runtime. Do not hardcode a per-fund address from an example. A missing or unlisted fundId is a not-found error. chainConfig is null when the fund has no on-chain parameter snapshot.

For an escrow vault, check fundStatus and chainConfig.paused. A vault deposit spends the underlying asset on ValueChain. If that balance is still on an external network, move it with Mirror Protocol first. Direct submission requires SOSO for gas.

For bridged_vault, confirm fundStatus=live and use Bridged Vaults — Configuration. contracts may be empty and chainConfig may be null. The live Morpho-Earn example resolves USDC and soUSDC through Portal and matches the share token to data.share.address.

3. Choose the operation

For bridged_vault, follow Bridged Vaults: sign a Permit and submit through Transaction Relayer, or call Caller directly with wallet-paid gas. Check the route and simulate the call. The trading-status endpoint does not currently expose bridge execution readiness and may return not found or closed / bridge_not_ready; do not wait for a bridge channel.

For escrow and CLOB funds, check trading status, then match the row below. Exactly one channel is active in a successful response. A batch deposit or redemption encodes referral first (Referrals), including bytes32(0) when none applies. On a direct batch call, also pass builderFeeData (bytes32(0) when none applies); see Builder Integration.

fundType is escrow_vault, clob, or bridged_vault. fundStatus is subscription or live. channel is rfq, batch, closed, subscription, or clob.

fundType

fundStatus

channel

What to do

escrow_vault

subscription

subscription

Subscribe or cancel on contracts.subscription with subscribe or unsubscribe.

escrow_vault

subscription

closed

Do not subscribe.

escrow_vault

live

rfq

Request a quote and submit buy or sell. See RFQ Subscribe and Redeem.

escrow_vault

live

batch

Submit requestDeposit or requestRedeem on the vault. See Vault Lifecycle.

escrow_vault

live

closed

The market is closed. Wait for nextChannelAt.

clob

live

clob

Place an order on the order book. See Trading.

clob

live

closed

The market is closed. Wait for nextChannelAt.

Direct and signed escrow vault submission and claims are how-tos under Escrow Vault Lifecycle. A CLOB fill for a SoDEX RWA token is not a vault request. Bridged vault commands have no escrow referral or builder-fee arguments.

4. Confirm the result

A successful submission is not arrival.

For an escrow vault, save the request transaction hash and query User Fund History. Amounts and prices are decimal strings; do not parse them as floating-point JSON numbers.

Match the saved hash and operation kind. Empty entries or processing do not confirm credit. Claim only when history and the on-chain request say the result was not automatically delivered. Then check the vault share or underlying balance.

For a bridged vault, obtain callForId from the Caller event in the successful request receipt, then track getCallForById. Relayer confirmation means the request transaction succeeded, not that the bridge settled. Verify output or returned input in the selected destination; see Settlement and Recovery. No escrow claim call is required.

For a SoDEX RWA token, confirm the Spot position. Do not use fund-details claim flags for that trade.

Bridged VaultsRFQ Subscribe and RedeemEscrow Vault LifecycleBuilder IntegrationReferralsWealth API

Last updated