Current

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get general information about the current lease period.

get

Returns an overview of the current lease period, including lease holders.

Query parameters
atstring · unsignedInteger or $hexOptional

Block identifier, as the block height or block hash.

currentLeaseHoldersbooleanOptional

Wether or not to include the currentLeaseHolders property. Inclusion of the property will likely result in a larger payload and increased response time.

Default: true
Responses
application/json
objectOptional
get
GET /paras/leases/current HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{
  "at": {
    "hash": "text",
    "height": "text"
  },
  "leasePeriodIndex": "text",
  "endOfLeasePeriod": "text",
  "currentLeaseHolders": [
    "text"
  ]
}