UNPKG

@contractjs/aave-v3

Version:

A TypeScript utility library for Aave V3 contracts.

18 lines 644 B
import { Address } from "ox"; import { PublicClient } from "viem"; /** * Get the price of an asset in USD * @param asset - The address of the asset * @returns The price of the asset in USD */ export declare const getAssetPrice: (asset: Address.Address, publicClient: PublicClient) => Promise<bigint>; /** * Get the price of multiple assets in USD * @param assets - The addresses of the assets * @returns The prices of the assets in USD */ export declare const getAssetsPrices: (assets: Address.Address[], publicClient: PublicClient) => Promise<{ asset: Address.Address; price: bigint; }[]>; //# sourceMappingURL=priceOracle.d.ts.map