Returns crowdloan's fundInfo and the set of leasePeriods the crowdloan` covers.
fundInfo
leasePeriods
paraId to query the crowdloan information of.
successful operation
Block number and hash at which the call was made.
Lease periods the crowdloan can bid on.
const response = await fetch('https://dot-playbook.nownodes.io/paras/{paraId}/crowdloan-info', { method: 'GET', headers: {}, }); const data = await response.json();
{ "at": { "hash": "text", "height": "text" }, "fundInfo": { "depositor": "text", "verifier": "text", "deposit": "text", "raised": "text", "end": "text", "cap": "text", "lastConstribution": "preEnding", "firstPeriod": "text", "lastPeriod": "text", "trieIndex": "text" }, "leasePeriods": [ "text" ] }