UNPKG

@lidofinance/lido-ethereum-sdk

Version:

<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>

14 lines 653 B
import { LidoSDKEvents } from '../events/index.js'; import { LidoSDKModule } from '../common/class-primitives/sdk-module.js'; import { LidoSDKCommonProps } from '../core/types.js'; import type { AprRebaseEvent } from './types.js'; export declare class LidoSDKApr extends LidoSDKModule { readonly events: LidoSDKEvents; constructor(props: LidoSDKCommonProps); static calculateAprFromRebaseEvent({ preTotalEther, preTotalShares, postTotalEther, postTotalShares, timeElapsed, }: AprRebaseEvent): number; getLastApr(): Promise<number>; getSmaApr(props: { days: number; }): Promise<number>; } //# sourceMappingURL=apr.d.ts.map