The WebSocket API provides authenticated request/response-style methods for retrieving current account state snapshots over an established WebSocket connection.
Unlike private information streams, which push incremental updates after authentication, these WebSocket API methods return snapshot data for the current state of open orders, balances, positions, and account configuration.
Authentication parameters are passed in the params object for each request. The authentication fields follow the same signing approach used for private WebSocket authentication.
Request
{
"id": "account.config.current-1",
"method": "account.config.current",
"params": [
"eyJhcGlLZXkiOiJnbG9iYWxfYjg4NWY1Njc2MDA5ZWMzYzBkNTE5MDAyNmJhZGRiNmYiLCJzaWduIjoiN1ovRXBJT0lrOTJsUmZiMzJOcy8wdmV6K1dXNHQ4V3BsSzlTTXJGbnRMYz0iLCJwYXNzcGhyYXNlIjoiRXJpYy5aaGFuZzIwMjUiLCJ0aW1lc3RhbXAiOjE3Nzg2NzgyMTg0NzR9"
]
}For WebSockets see WebSocket Authentication.