curl
request.
chainId
with the specific chain ID you want to query. For example, to retrieve the average transactions per second (TPS) for a specific chain (in this case, chain ID 43114), you can use the following endpoint:
lastRun
is a timestamp indicating when the last data point was updated:
2XX
range signifies successful requests, while those within the 4XX
range points to errors originating from the client’s side. Meanwhile, response codes within the 5XX
range indicates problems on the server’s side.
The error response body is formatted like this:
Error Code | Error Type | Description |
---|---|---|
400 | Bad Request | Bad requests generally mean the client has passed invalid or malformed parameters. Error messages in the response could help in evaluating the error. |
401 | Unauthorized | When a client attempts to access resources that require authorization credentials but the client lacks proper authentication in the request, the server responds with 401. |
403 | Forbidden | When a client attempts to access resources with valid credentials but doesn’t have the privilege to perform that action, the server responds with 403. |
404 | Not Found | The 404 error is mostly returned when the client requests with either mistyped URL, or the passed resource is moved or deleted, or the resource doesn’t exist. |
500 | Internal Server Error | The 500 error is a generic server-side error that is returned for any uncaught and unexpected issues on the server side. This should be very rare, and you may reach out to us if the problem persists for a longer duration. |
502 | Bad Gateway | This is an internal error indicating invalid response received by the client-facing proxy or gateway from the upstream server. |
503 | Service Unavailable | The 503 error is returned for certain routes on a particular Subnet. This indicates an internal problem with our Subnet node, and may not necessarily mean the Subnet is down or affected. |
nextPageToken
is a UUID-based token provided in the response when additional pages of data are available. This token serves as a pointer to the next set of data.
nextPageToken
is generated uniquely for each pagination scenario, ensuring security and ensuring predictability.nextPageToken
is present in the response.