Home

List DS blocks with pagination

POST
https://zil.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a paginated list of DS blocks from the blockchain, where each page contains a defined number of blocks. The most recent blocks are listed first by default.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

idintegerrequired

Request ID

paramsArray<integer>required

Array with pagination parameters:

  • max: Maximum number of blocks to return (default 10)
  • offset: Offset from the latest block (default 0)

Response

200OK

Paginated DS block listing retrieved successfully

400Bad Request

Invalid request

500Internal Server Error

Server error