Derive v3 native vaults
The operator README contains commands for inspecting both deployments, collecting history and configuring the shared scanner.
Derive v3 vaults hold assets in managed exchange subaccounts and issue native shares. They have no ERC-4626 contract interface. The Derive v3 vault guide describes their accounting, fees and curator role. The public vault listing and performance history provide discovery, live NAV and sampled share prices without authentication.
Run a testnet scan with:
DERIVE_V3_NETWORK=testnet poetry run python scripts/derive/scan-v3-vaults.py
DERIVE_V3_NETWORK=mainnet selects the production API. DB_PATH changes
the DuckDB destination and VAULT_IDS filters native subaccount IDs. By
default, testnet and mainnet use separate files under
~/.tradingstrategy/vaults/. Each observation retains the deployment name
as well. The shared exporter reads mainnet rows only. The collector keeps
amounts as decimal strings and stores daily performance points. A missing
NAV remains null; a vault with no history produces no price rows. The
public currency listing
resolves each vault’s internal deposit-asset address to a symbol and decimal
count, where available. The full public vault record is retained as JSON so
fields omitted from the parsed model can be inspected later.
The all-chain scanner enables Derive mainnet by default; set
SCAN_DERIVE_V3=false to disable it. Shared rows use dataset chain ID
9993 and address derive-v3-vault-{subaccount_id}. This chain ID is an
internal identifier, not an EVM RPC chain ID. Prices and NAV use USD units;
deposit-asset metadata is exported separately under other_data.derive.
Current Derive-side limits
As checked on 24 September 2026, the public mainnet get_vaults response
contains no vaults and testnet lists 18. The public
performance endpoint offers 1-hour, 8-hour, 24-hour and weekly samples, with
at most 10,000 points per page. Its documentation calls ts milliseconds,
but the live testnet returned Unix seconds; the client accepts both response
units and sends pagination bounds in Unix seconds, as the API specifies.
The shared First seen date uses the earliest stored performance point,
falling back to the first scan when no history exists; it is not an exact
vault creation date.
The deposit and withdrawal guide specifies a curator settlement queue. A shareholder request is an intent, not a completed deposit or redemption. The curator quotes and settles each request, subject to a configured cooldown, slippage checks and available vault liquidity. Derive says withdrawals must be processed within 14 days; delays can put a vault at risk of being frozen and delisted. The current collector is read-only and does not submit, cancel or settle these requests.
The fee guide explains that fees
settle as dilutive share mints during deposit and withdrawal settlement. The
historical share_price is the sampled mark-to-market series; the live
simulated_share_price_usd includes a hypothetical accrued-fee settlement.
The collector stores the simulated price in metadata and uses only
share_price for historical prices. Appending the simulated price to that
series would mix prices with different treatment of pending fees.
The whitelist_only field describes account approval separately from the
vault’s closed status; an open request still requires curator settlement.
Position transparency shortcoming
Derive v3 does not expose current vault positions through its public API.
This is a protocol transparency shortcoming: public NAV, share prices and
vault settlement history cannot reveal gross long and short exposure,
position concentration or options risk for an arbitrary vault. The v3 API
specification instead provides
private/get_positions and private/get_subaccount for authenticated
wallet sessions. A curator must delegate access to its vault subaccount,
such as with a read-only session key, before these
positions can be read. This integration does not implement private position
collection, and vault-specific session access has not been tested. Exported
exposure metrics remain null, indicating unavailable data.
API modules
Public Derive v3 native vault data. |
|
Persist public Derive v3 vault observations in DuckDB. |
|
Export Derive v3 native vaults to the shared vault dataset. |
|
Constants for the native Derive v3 vault dataset. |
|
Maintained strategy classifications for Derive v3 native vaults. |