@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
18 lines (17 loc) • 537 B
TypeScript
import { type Address, type Hex } from 'viem';
import { type CreateBetResponse, type BetClientData } from '../global';
type Props = {
account: Address;
clientData: BetClientData;
bet: {
conditionId: string | bigint;
outcomeId: string | number | bigint;
minOdds: string | bigint;
amount: string | bigint;
nonce: string | number | bigint;
};
signature: Hex;
bonusId?: string;
};
export declare const createBet: (props: Props) => Promise<CreateBetResponse | null>;
export {};