HomeDocumentationAPI Reference
Log In
API Reference

Login

Method Name

public/login

Authenticate a websocket connection. Unavailable via HTTP.

Parameters

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

Response

idstring or integerrequired
resultarray of integersrequired
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}