Skip to main content
GET
/
getNominatorEarnings
Get Nominator Earnings Method
curl --request GET \
  --url https://toncenter.com/api/smc-index/getNominatorEarnings \
  --header 'X-API-Key: <api-key>'
{
  "total_on_period": 123,
  "earnings": [
    {
      "utime": 123,
      "income": 123,
      "stake_before": 123
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

nominator
string
required

The nominator address. The nominator address.

pool
string
required

Pool address to get earnings in. Pool address to get earnings in.

limit
integer | null
default:100

Limit from bottom. Limit from bottom.

from_time
integer | null

Unixtime of the first booking. Unixtime of the first booking.

to_time
integer | null

Unixtime of the last booking. Unixtime of the last booking.

Response

Successful Response

total_on_period
integer
required
earnings
EarningModel · object[]
required