Subaccounts

public/get_wallet

Changed on

Returns the wallet address that owns subaccount_id; the reverse of public/get_subaccounts. Returns a subaccount-not-found error if the subaccount does not exist. The result can be up to 60 seconds old. Public endpoint, no authentication required.

post/public/get_wallet

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

PublicGetWalletRequest required
subaccount_id, integer required

Response

Success

PublicGetWalletResponse required
subaccount_id, integer required
wallet, string required

Changes