TONTONDocs
TON CenterNominator Pools API

applications/api/toncenter/smc-index/get-nominator-earnings-method

GET
/getNominatorEarnings

Authorization

X-API-Key<token>

In: header

Query Parameters

nominator*Nominator

The nominator address.

pool*Pool

Pool address to get earnings in.

limit?|

Limit from bottom.

Default100
from_time?|

Unixtime of the first booking.

to_time?|

Unixtime of the last booking.

Response Body

application/json

application/json

curl -X GET "https://example.com/getNominatorEarnings?nominator=string&pool=string"
{
  "total_on_period": 0,
  "earnings": [
    {
      "utime": 0,
      "income": 0,
      "stake_before": 0
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Last updated on