Leases

Get all the leases currently registered on coretime chain.

get
Query parameters
blockIdstringOptional

Block identifier, as the block height or block hash.

Pattern: ^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}
Responses
200
successful operation
application/json
get
GET /coretime/leases HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{
  "at": {
    "hash": "text",
    "height": "text"
  },
  "leases": [
    {
      "task": "text",
      "until": "text",
      "core": "text"
    }
  ]
}