Subaccounts

private/get_subaccounts

Returns the wallet address and the sorted list of subaccount IDs owned by that wallet. Yields an empty list if the wallet has no subaccounts.

post/private/get_subaccounts

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/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.