UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

15 lines (14 loc) 513 B
import { u32 } from '@polkadot/types'; import { FrameSupportScheduleDispatchTime, PalletReferendaDecidingStatus, PalletReferendaDeposit } from '@polkadot/types/lookup'; import { IAt } from './At'; export interface IReferendaInfo { id: string; decisionDeposit: PalletReferendaDeposit | null; enactment: FrameSupportScheduleDispatchTime; submitted: u32; deciding: PalletReferendaDecidingStatus | null; } export interface IPalletOnGoingReferenda { at: IAt; referenda: IReferendaInfo[]; }