@moonwell-fi/moonwell-sdk
Version:
TypeScript Interface for Moonwell
13 lines • 875 B
TypeScript
import type { MoonwellClient } from "../../client/createMoonwellClient.js";
import { type SnapshotPeriod } from "../../common/index.js";
import type { NetworkParameterType } from "../../common/types.js";
import type { Chain } from "../../environments/index.js";
import type { StakingSnapshot } from "../../types/staking.js";
export type GetStakingSnapshotsParameters<environments, network extends Chain | undefined> = NetworkParameterType<environments, network> & {
period?: SnapshotPeriod;
startTime?: number;
endTime?: number;
};
export type GetStakingSnapshotsReturnType = Promise<StakingSnapshot[]>;
export declare function getStakingSnapshots<environments, Network extends Chain | undefined>(client: MoonwellClient, args?: GetStakingSnapshotsParameters<environments, Network>): GetStakingSnapshotsReturnType;
//# sourceMappingURL=getStakingSnapshots.d.ts.map