UNPKG

@azuro-org/toolkit

Version:

This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.

24 lines (23 loc) 616 B
import { type CreateBetResponse } from '../global'; import { type ChainId } from '../config'; import { type Environment } from '../envs'; export type GetBetResponse = { txHash: string; odds: number; clearOdds: number; betId: number; createdAt: string; updatedAt: string; core: string; bettor: string; affiliate: string; stake: number; maxStake: number; environment: Environment; } & CreateBetResponse; type Props = { chainId: ChainId; orderId: string; }; export declare const getBet: ({ chainId, orderId }: Props) => Promise<GetBetResponse | null>; export {};