@helium/http
Version:
HTTP library for interacting with the Helium blockchain API
19 lines • 581 B
TypeScript
import type Client from '../Client';
import ResourceList from '../ResourceList';
import Sums from './Sums';
import Hotspot from '../models/Hotspot';
import Witness from '../models/Witness';
interface ListParams {
cursor?: string;
}
type WitnessType = 'witnesses' | 'witnessed';
export default class Witnesses {
private client;
private hotspot;
private type;
constructor(client: Client, hotspot: Hotspot, type?: WitnessType);
list(params?: ListParams): Promise<ResourceList<Witness>>;
get sum(): Sums;
}
export {};
//# sourceMappingURL=Witnesses.d.ts.map