/
v3.0.11Get access

getClientCurrentSessionInfo

This method retrieves and calculates real-time financial metrics such as Starting Balance, Total Stake, and Profit by capturing the user's wallet state at login. It continuously monitors transaction logs during the active session to provide a live summary of betting activity and net performance within the "My Profile" subsection.

Request parameters:

The method works without parameters

Call example:

getClientCurrentSessionInfo()

Response examples:

{
  code: 0,
  data: {
    result: 0,
    result_text: null,
    details: {
      StartBalance: 51.18,
      TotalStake: 0,
      Profit: 0
    }
  }
}

Response parameters:

NameDescriptionTypeValues
data
object
└─ details
object
└─ Profit
The net financial gain or loss during the session.number-
└─ StartBalance
The wallet balance at the moment the session was initialized.number-
└─ TotalStake
The sum of all wagers placed during the current session.number-