User Fund History
Query a wallet's fund ledger: subscriptions, deposits, redemptions, airdrops, liquidations, and transfers in one reverse-chronological list.
GET /users/{address}/fund-details
curl "https://mainnet-gw.sodex.dev/api/v1/wealth/users/0x1111111111111111111111111111111111111111/fund-details?fundId=CXMT" \
-H "Accept: application/json"Use In-flight value for value that has not settled, and Positions for what is held now. Shares here are rebuilt from the ledger and differ from the on-chain balances in positions.
GET /users/{address}/subscription-details is the same handler, with the same fields and behavior. It is not a redirect. The path name mentions subscriptions only. Redeems, airdrops, and deposits are in that payload too. New clients should use fund-details.
Parameters
address
path
string
Yes
User EVM address. Matching is case-insensitive; the response normalizes it to lowercase.
fundId
query
string
No
Case-sensitive fund filter. Omit it to include every fund for the address. Repeating the parameter is rejected. A delisted fund still returns that user's own history.
kind
query
string
No
Comma-separated entry kinds. An empty item, or a repeated parameter, is rejected.
channel
query
string
No
Comma-separated order channels. An empty item, or a repeated parameter, is rejected.
fundType
query
string
No
Comma-separated fund types. An empty item, or a repeated parameter, is rejected.
kind is subscribe, airdrop, deposit, redeem, liquidation, transfer_in, or transfer_out.
channel is batch, rfq, spot, or bridge.
fundType is escrow_vault, clob, or bridged_vault.
Response data
address
Normalized user address.
totals
Per-fund aggregate shares, costs, pending amounts, redemption totals, and average cost. Ordered by fundId ascending.
entries
Combined timeline. Ordered by original request time descending.
unavailableTotalsFundIds
Fund ids whose totals could not be built.
bridgeStatus
ready, partial, or unavailable.
Average prices on a totals row are omitted when they cannot be formed. Amount fields that are not yet determined are omitted. An omitted field is different from the string "0". Amounts, shares, ratios, and prices are decimal strings.
Totals
fundId
string
Fund identifier.
shares
string
Ledger shares.
subscribeShares
string
Shares from subscription.
pendingRedeemShares
string
Shares in a redemption that has not settled.
pendingDepositShares
string
Shares from a deposit that has not settled.
processingCost
string
Cost still processing.
pendingProceeds
string
Redemption proceeds not yet received.
completedCost
string
Cost of completed entries.
costBasis
string
Cost basis.
redeemedShares
string
Shares already redeemed.
avgCost
string, optional
Average cost.
avgCostWithAirdrop
string, optional
Average cost including airdrops.
share
object, optional
Share token: coin, address, decimals.
spot
object, optional
CLOB pair: symbol, symbolId, displayName, quote.
Entry fields for settlement
Entries can be processing, completed, cancelled, failed, or rejected. Ignore unknown kinds when processing a supported workflow.
fundId
string
Fund identifier.
kind
string
subscribe, airdrop, deposit, redeem, liquidation, transfer_in, or transfer_out.
status
string
processing, completed, cancelled, failed, or rejected.
claimable
boolean, optional
Whether confirmed deposit shares or redemption proceeds are ready to be claimed.
delayedPending
boolean, optional
Whether part of a redemption remains in delayed settlement.
entryId
string, optional
Upstream lifecycle-entry identifier, when available.
txHash
string, optional
Transaction hash associated with the original request or entry.
cancelTxHash
string, optional
Transaction hash of a cancellation.
requestedAt
string, optional
Original request time, RFC 3339 UTC.
at
string
Latest status-change time, RFC 3339 UTC.
shares
string, optional
Shares received for deposits, or shares submitted for redemptions.
requestedShares
string, optional
Shares requested.
proceeds
string, optional
Asset amount received from a redemption.
cost
string, optional
Asset amount paid.
costEstimated
boolean, optional
Whether cost is an estimate.
claimable and delayedPending are independent and can both be true. An omitted flag means unknown, not false. Neither completed nor delayedPending=false alone establishes that a claim transaction is required.
Other entry fields
transactionType
string, optional
recurring_buy, deposit, redeem, airdrop, subscribe, liquidation, transfer_in, or transfer_out.
channel
string, optional
batch, rfq, spot, or bridge.
source
string, optional
recurring_buy when the entry came from a recurring plan.
cancellable
boolean, optional
Whether the entry can still be cancelled.
cancellableUntil
string, optional
Cancellation deadline, RFC 3339 UTC.
pricedAt
string, optional
When the entry was priced.
clOrdId
string, optional
Client order id.
fillCount
integer, optional
Number of fills.
planIndex
string, optional
Recurring-buy plan index.
scheduledLocalDate
string, optional
Scheduled local date of a recurring execution.
destination
integer, optional
0 EVM, 1 SPOT, 2 PERP.
intentId
string, optional
Intent id.
bridge
object, optional
Bridge order: sourceChainId, contract, orderId, stage, dataQuality, destinationTx, toClob.
transfer
object, optional
Ordinary share-token transfer: from, to, token, blockNumber, logIndex.
bridge.stage is pending, approved, success, failed, or rejected. transfer excludes mint, burn, self-transfer, and bridge-protocol moves.
For a bridged_vault, correlate bridge.sourceChainId, bridge.contract, and bridge.orderId with the ValueChain chain ID, Caller address, and callForId emitted in the request receipt. Keep the request transaction hash separately from the external execution hash. A missing row or bridgeStatus=partial/unavailable can reflect indexing or data availability; track the on-chain order rather than resubmitting. Escrow claim flags do not select a bridge claim method. See Bridged Vaults — Settlement and Recovery.
Last updated