@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
13 lines (12 loc) • 541 B
TypeScript
import { BlockHash } from '@polkadot/types/interfaces';
import { IPalletOnGoingReferenda } from '../../types/responses';
import { AbstractService } from '../AbstractService';
export declare class PalletsOnGoingReferendaService extends AbstractService {
/**
* Fetch all on-going referenda that have track: root (0) and whitelisted (1), along
* with their associated information.
*
* @param hash `BlockHash` to make call at
*/
derivePalletOnGoingReferenda(hash: BlockHash): Promise<IPalletOnGoingReferenda>;
}