UNPKG

@azuro-org/sdk

Version:

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

11 lines (10 loc) 423 B
import { type GameQuery, type ChainId } from '@azuro-org/toolkit'; import { type UseQueryResult } from '@tanstack/react-query'; import { type QueryParameter } from '../../global'; export type UseGameProps = { gameId: string; chainId?: ChainId; query?: QueryParameter<GameQuery['game']>; }; export type UseGame = (props: UseGameProps) => UseQueryResult<GameQuery['game']>; export declare const useGame: UseGame;