UNPKG

@helium/http

Version:

HTTP library for interacting with the Helium blockchain API

14 lines 414 B
import type Client from '../Client'; import ResourceList from '../ResourceList'; import Election from '../models/Election'; interface ListParams { cursor?: string; } export default class Elections { private client; constructor(client: Client); list(params?: ListParams): Promise<ResourceList<Election>>; get(hash: string): Promise<Election>; } export {}; //# sourceMappingURL=Elections.d.ts.map