@moonwell-fi/moonwell-sdk
Version:
TypeScript Interface for Moonwell
12 lines • 563 B
TypeScript
import type { MoonwellClient } from "../../client/createMoonwellClient.js";
import { HttpRequestError } from "../../common/index.js";
import type { Delegate } from "../../types/delegate.js";
export type GetDelegatesErrorType = HttpRequestError;
export type GetDelegatesReturnType = Promise<Delegate[]>;
/**
* Returns a list of the delegates from the Moonwell Governance Forum
*
* https://forum.moonwell.fi/c/delegation-pitch/17
*/
export declare function getDelegates(client: MoonwellClient): GetDelegatesReturnType;
//# sourceMappingURL=getDelegates.d.ts.map