@moonwell-fi/moonwell-sdk
Version:
TypeScript Interface for Moonwell
11 lines • 783 B
TypeScript
import type { Address, Chain } from "viem";
import type { MoonwellClient } from "../../client/createMoonwellClient.js";
import type { OptionalNetworkParameterType } from "../../common/types.js";
import type { UserStakingInfo } from "../../types/staking.js";
export type GetUserStakingInfoParameters<environments, network extends Chain | undefined> = OptionalNetworkParameterType<environments, network> & {
/** User address*/
userAddress: Address;
};
export type GetUserStakingInfoReturnType = Promise<UserStakingInfo[]>;
export declare function getUserStakingInfo<environments, Network extends Chain | undefined>(client: MoonwellClient, args: GetUserStakingInfoParameters<environments, Network>): GetUserStakingInfoReturnType;
//# sourceMappingURL=getUserStakingInfo.d.ts.map