RSS3 Documentation

Retrieve snapshots of the staker profit

Retrieve snapshots of the staker profit over time. This endpoint allows filtering by staker address, date range, and pagination parameters.

GET
/nta/snapshots/stakers/profit
/nta/snapshots/stakers/profit

Query Parameters

staker_addressstring

Staker address

cursorstring

Specify the cursor used for pagination. This helps in retrieving the next set of results in a paginated response.

limitinteger

Limit the number of results

Default: 50

beforeDatestring

The date before which the snapshots are returned.

Format: "date"

afterDatestring

The date after which the snapshots are returned.

Format: "date"
curl -X GET "https://gi.rss3.io/nta/snapshots/stakers/profit?staker_address=string&cursor=string&limit=50&beforeDate=2019-08-24&afterDate=2019-08-24"

A successful response containing snapshots of the staker profit over time. Each entry in the data array includes the date and profit details. The response also includes a cursor for pagination to fetch subsequent sets of results.

{
  "data": [
    {
      "address": "0xc8b960d09c0078c18dcbe7eb9ab9d816bcca8944",
      "date": "2024-06-17T02:01:29Z",
      "epoch_id": 1,
      "total_chip_amount": "24",
      "total_chip_value": "14459771035071565497880"
    }
  ],
  "cursor": "string"
}