Skip to main content

/pallets/on-going-referenda REST API Endpoint

Returns information associated with on-going referenda which includes the referendum's enactment, submitted and deciding fields.

Updated on
Sep 02, 2024

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 | null

The block number at which the referendum is being confirmed

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free