HomeDocumentationAPI Reference
Log In

Get Account

Method Name

private/get_account

Account details getter

Parameters

wallet string required
Ethereum wallet address of account

Response

id string or integer required
result object required
result.cancel_on_disconnect boolean required
Whether cancel on disconnect is enabled for the account
result.wallet string required
Ethereum wallet address
result.websocket_matching_tps integer required
Max transactions per second for matching requests over websocket (see Rate Limiting in docs)
result.websocket_non_matching_tps integer required
Max transactions per second for non-matching requests over websocket (see Rate Limiting in docs)
result.websocket_option_tps integer required
Max transactions per second for EACH option instrument over websocket (see Rate Limiting in docs)
result.websocket_perp_tps integer required
Max transactions per second for EACH perp instrument over websocket (see Rate Limiting in docs)
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}