Skip to main content
GET
/
v1
/
solana
/
epochMetadata
Get epoch metadata for an epoch ending on the day specified
curl --request GET \
  --url https://api.rated.network/v1/solana/epochMetadata \
  --header 'Authorization: Bearer <token>'
{
  "previous": "<string>",
  "next": "<string>",
  "pages": 1,
  "results": [
    {
      "day": "2023-12-25",
      "epoch": 1,
      "startSlot": 1,
      "endSlot": 1,
      "startBlock": 1,
      "endBlock": 1,
      "startBlockTime": "2023-11-07T05:31:56Z",
      "endBlockTime": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:15

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

toDate
string<date> | null

End date

Example:

"2023-12-31"

fromDate
string<date> | null

Start date

Example:

"2023-01-01"

from
any | null
deprecated

UTC day

Response

Successful Response

previous
string | null
required
next
string | null
required
pages
integer
required
Required range: x >= 0
results
SolanaEpochStats · object[]
required