HomeDocumentationAPI Reference
Log In
API Reference

Get Subaccounts

Method Name

private/get_subaccounts

Get all subaccounts of an account / wallet
Required minimum session key permission level is read_only

Parameters

walletstringrequired
Ethereum wallet address of account

Response

idstring or integerrequired
resultobjectrequired
result.walletstringrequired
Ethereum wallet address
result.subaccount_idsarray of integersrequired
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}