make_derive_v3_vault_address

Documentation for eth_defi.derive.v3_constants.make_derive_v3_vault_address function.

make_derive_v3_vault_address(subaccount_id)

Return the stable synthetic address for a native vault.

The native subaccount ID is the common key in DuckDB, shared metadata, raw prices and JSON. It is scoped to the chosen Derive deployment; only mainnet addresses enter the shared dataset.

Parameters

subaccount_id (int) – Derive v3 native vault subaccount ID.

Returns

Synthetic dataset address.

Return type

str