UNPKG

@azuro-org/toolkit

Version:

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

21 lines (20 loc) 567 B
import { type ChainId } from '../../config'; type GetPrecalculatedCashoutsResponse = { margin: string; marginMin: string; availables: { conditionId: string; available: boolean; outcomes: { outcomeId: number; price: string; }[]; }[]; }; export type GetPrecalculatedCashouts = GetPrecalculatedCashoutsResponse | null; type Props = { chainId: ChainId; conditionIds: string[]; }; export declare const getPrecalculatedCashouts: (props: Props) => Promise<GetPrecalculatedCashouts>; export {};