Function getPoolPerformance
- getPoolPerformance(__namedParameters): Promise<PoolPerformanceData>
Parameters
- __namedParameters: {
chainId: CHAIN_IDS;
token0: `0x${string}`;
token1: `0x${string}`;
salt: `0x${string}`;
volumeFromTimestamp: number;
volumeToTimestamp: number;
snapshotFromTimestamp: number;
snapshotToTimestamp: number;
snapshotIntervalType: CHART_LOG_INTERVALS;
spreadProfitFromTimestamp: number;
spreadProfitToTimestamp: number;
options?: {
pool?: Pool;
useSubgraph?: boolean;
} & DefaultOptions;
}token0: `0x${string}`
token1: `0x${string}`
salt: `0x${string}`
volumeFromTimestamp: number
volumeToTimestamp: number
snapshotFromTimestamp: number
snapshotToTimestamp: number
spreadProfitFromTimestamp: number
spreadProfitToTimestamp: number
Optional
options?: {
pool?: Pool;
useSubgraph?: boolean;
} & DefaultOptions