@accret/api-client
Version:
A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs
12 lines • 849 B
TypeScript
import { Network, HistoricalPriceInterval, type HistoricalPriceByAddressResponse } from "alchemy-sdk";
/**
* Fetches the historical price data for a specific token address.
* @param tokenAddress - The address of the token to fetch historical price data for.
* @param network - The network the token is on.
* @param startTime - The start time for the historical price data.
* @param endTime - The end time for the historical price data.
* @param interval - The interval for the historical price data.
* @returns The historical price data for the specified token address.
*/
export declare function getHistoricalPriceTokensAddress(tokenAddress: string, network: Network, startTime: string, endTime: string, interval: HistoricalPriceInterval): Promise<HistoricalPriceByAddressResponse>;
//# sourceMappingURL=historical-price-for-tokens.d.ts.map