UNPKG

@azuro-org/sdk

Version:

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

14 lines (13 loc) 614 B
import { type Address } from 'viem'; import { type GameBetsQuery, type ChainId, GameState } from '@azuro-org/toolkit'; import { type UseQueryResult } from '@tanstack/react-query'; import { type QueryParameter } from '../../global'; export type UseBetsSummaryBySelectionProps = { account: Address; gameId: string; gameState: GameState; chainId?: ChainId; query?: QueryParameter<GameBetsQuery>; }; export type UseBetsSummaryBySelection = (props: UseBetsSummaryBySelectionProps) => UseQueryResult<Record<string, string>>; export declare const useBetsSummaryBySelection: UseBetsSummaryBySelection;