Vault Shareholders

private/get_vault_shares

Changed on

Returns the caller's share balance for every vault it holds shares in, each paired with the full enriched vault row (the same shape as public/get_vault). The wallet parameter must match the authenticated connection. Read-only.

post/private/get_vault_shares

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetVaultSharesRequest required
wallet, string required

The shareholder wallet (0x hex).

Response

Success

VaultSharesResponse required

Returned by get_vault_shares: one entry per vault the wallet holds shares in.

vaults, VaultShareEntryResponse[] required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status