UNPKG

@azuro-org/sdk

Version:

One-stop solution for building betting dApps on the Azuro Protocol.

10 lines (9 loc) 525 B
import { type ConditionsQuery, type ChainId, type GameMarkets } from '@azuro-org/toolkit'; import { type WrapperUseQueryResult, type QueryParameter } from '../../global'; export type UseResolvedMarketsProps = { gameId: string; chainId?: ChainId; query?: QueryParameter<ConditionsQuery['conditions']>; }; export type UseResolvedMarkets = (props: UseResolvedMarketsProps) => WrapperUseQueryResult<GameMarkets | undefined, ConditionsQuery['conditions']>; export declare const useResolvedMarkets: UseResolvedMarkets;