On going referenda
Get a list of all on-going referenda that have track `root (0)` and `whitelisted (1)`, along with their associated information.
get
Returns information associated with on-going referenda which includes the referendum's enactment
, submitted
and deciding
fields.
Query parameters
atstring · unsignedInteger or $hexOptional
Block identifier, as the block height or block hash.
Responses
200
successful operation
application/json
get
GET /pallets/on-going-referenda HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200
successful operation
{
"at": {
"hash": "text",
"height": "text"
},
"referenda": [
{
"id": "text",
"decisionDeposit": {
"who": "text",
"amount": "text"
},
"enactment": "at",
"submitted": "text",
"deciding": {
"since": "text",
"confirming": "text"
}
}
]
}