UNPKG

@cryptoalgebra/alm-sdk

Version:

Algebra ALM SDK

11 lines (10 loc) 514 B
import { JsonRpcProvider } from '@ethersproject/providers'; import { FeeAprData, SupportedDex } from '../types'; /** * Get fee APR values for a vault from a V2 subgraph * @param vaultAddress The address of the vault * @param jsonProvider A JsonRpcProvider * @param dex The DEX identifier * @returns Fee APR data for different time periods or null if data not available */ export declare function getFeeAprs(vaultAddress: string, jsonProvider: JsonRpcProvider, dex: SupportedDex): Promise<FeeAprData | null>;