Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

uservaultequities

Returns every vault one user holds shares in, with the current USDC value of those shares and the end of the deposit lock-up. Use it for a "Your vaults" list. The type name is all lowercase.

POST/infotype uservaultequities

List the vaults a user holds, with current equity and lock-up end.

Request body
typestringrequired

Must be `uservaultequities`.

"uservaultequities"
userstring · addressrequired

Depositor address.

Request example
curl -X POST https://rpc.txflow-testnet.xyz/info \
  -H "Content-Type: application/json" \
  -H "x-api-version: 2026-08-16" \
  -d '{
  "type": "uservaultequities",
  "user": "0x091564806dce41ffeebafbc417e73b6849b1c29e"
}'
Try it
POST https://rpc.txflow-testnet.xyz/info
Response 200
codeinteger

`0` on success.

dataobject[]

One row per vault the user holds shares in; empty when none.

equitystring

Current value of the user’s shares, USDC.

lockedUntilTimestampinteger

End of the deposit lock-up, Unix ms. Withdrawals open after this time.

vaultAddressstring · address
successboolean

`false` on error, with `code` set and the text in `message` instead of `data`.

Response example
{
  "success": true,
  "code": 0,
  "data": [
    {
      "vaultAddress": "0x664989a76069c2b153720745bc1c3c8eeee504c1",
      "equity": "1914.936497",
      "lockedUntilTimestamp": 1792830521530
    }
  ]
}

The list is empty when the user holds no vault shares. Refresh it when vaultUpdates reports a deposit or withdrawal. For one vault's full profile, use vaultDetails.