API Reference

Get vault total value

GET /vault/{vault_id}/total

Get the total USD value across all vault assets.

Path parameters

NameTypeDescription
vault_idrequiredstringVault id.

Query parameters

NameTypeDescription
include_currencyoptionalstringCurrencies to include (e.g. `usd`).

Responses

The total vault value.

    • total_usdstring

      Combined USD value of every asset in the vault.

    • included_currencyarray<string>
Request
curl "https://api.stridge.dev/v1/vault/string/total" \
  -H "X-API-Key: $STRIDGE_API_KEY"

Set your key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"total_usd": "25000.00",
"ETH",
"USDT"
]
}
}