UNPKG

@helium/http

Version:

HTTP library for interacting with the Helium blockchain API

23 lines 557 B
import DataModel from './DataModel'; export interface HttpElectionObject { type: string; time: number; proof: string; members: Array<string>; height: number; hash: string; delay: number; } export type ElectionData = Election; export default class Election extends DataModel { type: string; time: number; proof: string; members: Array<string>; height: number; hash: string; delay: number; constructor(data: HttpElectionObject); get data(): ElectionData; } //# sourceMappingURL=Election.d.ts.map