@azuro-org/sdk
Version:
One-stop solution for building betting dApps on the Azuro Protocol.
17 lines (16 loc) • 542 B
TypeScript
import { type ChainId, type WaveId } from '@azuro-org/toolkit';
import { type QueryParameter } from '../../global';
export type WavePeriod = {
id: number;
startsAt: number;
endsAt: number;
totalPoints: string;
isBonusPreCalc: boolean;
};
type Props = {
waveId?: WaveId;
chainId?: ChainId;
query?: QueryParameter<WavePeriod[] | null>;
};
export declare const useWavePeriods: ({ waveId, chainId, query }?: Props) => import("@tanstack/react-query").UseQueryResult<NoInfer<WavePeriod[] | null>, Error>;
export {};