Subaccounts
public/get_subaccounts
Changed onReturns the wallet address and the sorted list of all subaccount IDs owned by that wallet. Yields an empty list if the wallet has no subaccounts. Public endpoint, no authentication required.
post/public/get_subaccounts
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Public Get Subaccounts Request required
wallet, string required
20-byte Ethereum address as a 0x-prefixed lowercase hex string.
Response
Success
Private Get Subaccounts Response required
subaccount_ids, integer[] required
wallet, string required
Changes
- info
added the media type
application/jsonfor the response with the status
- info