/pallets/on-going-referenda REST API Endpoint
Path Parameters
Query Parameters
at
string
The block at which to retrieve the on-going referenda
Returns
at
object
An object containing information about the state.
hash
string
The hash of the block at the specified state.
height
string
The height of the block at the specified state.
referenda
array
An array of referenda, each representing a specific referendum that is being tracked or managed.
id
string
The identifier of the referendum
decisionDeposit
object
The decisionDeposit object which contains the following fields:
who
string
The account that provided the decision deposit
amount
string
The amount of the decision deposit (in the smallest unit of the currency)
enactment
object
The enactment object which contains the following fields:
after
string
The number of blocks after which the referendum will be enacted if it is approved
submitted
string
The block number at which the referendum was submitted
deciding
object
Information about the decision phase of the referendum
since
string
The block number since when the decision phase started
confirming
string
The block number at which the referendum is being confirmed
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/pallets/on-going-referenda' \2--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free