@azuro-org/sdk
Version:
One-stop solution for building betting dApps on the Azuro Protocol.
14 lines (13 loc) • 578 B
TypeScript
import { type UseQueryResult } from '@tanstack/react-query';
import { type ChainId, type Freebet, type Selection } from '@azuro-org/toolkit';
import { type Address } from 'viem';
import { type QueryParameter } from '../../global';
export type UseAvailableFreebetsProps = {
account: Address;
affiliate: Address;
selections: Selection[];
chainId?: ChainId;
query?: QueryParameter<Freebet[]>;
};
export type UseAvailableFreebets = (props: UseAvailableFreebetsProps) => UseQueryResult<Freebet[]>;
export declare const useAvailableFreebets: UseAvailableFreebets;