Login

Method Name

public/login

Authenticate a websocket connection. Unavailable via HTTP.

Parameters

signature string required
Signature of the timestamp, signed with the wallet's private key or a session key
timestamp string required
Message that was signed, in the form of a timestamp in ms since Unix epoch
wallet string required
Public key (wallet) of the account

Response

id string or integer required
result array of integers required
List of subaccount IDs that have been authenticated

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}