Subaccounts

public/get_subaccounts

Returns 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 URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/public/get_subaccounts
  • Auth: none declared

Request body

walletstring required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

Response

Success

subaccount_idsinteger[] required
walletstring required

Changes

No recorded changes to this operation across all 1 revision of this API.