Get Subaccounts

Method Name

private/get_subaccounts

Get all subaccounts of an account / wallet

Parameters

wallet string required
Ethereum wallet address of account

Response

id string or integer required
result object required
result.wallet string required
Ethereum wallet address
result.subaccount_ids array of integers required
List of subaccount_ids owned by the wallet in SubAccounts.sol

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}