Lease info

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get current and future leases as well as the lifecycle stage for a given `paraId`.

get

Returns a list of leases that belong to the paraId as well as the paraId's current lifecycle stage.

Path parameters
paraIdnumberRequired

paraId to query the crowdloan information of.

Query parameters
atstring · unsignedInteger or $hexOptional

Block identifier, as the block height or block hash.

Responses
200
successful operation
application/json
get
GET /paras/{paraId}/lease-info HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{
  "at": {
    "hash": "text",
    "height": "text"
  },
  "paraLifecycle": "onboarding",
  "onboardingAs": "parachain",
  "leases": [
    {
      "leasePeriodIndex": "text",
      "account": "text",
      "deposit": "text"
    }
  ]
}