@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
22 lines (21 loc) • 590 B
TypeScript
import { type Address } from 'viem';
import { type Environment } from '../../envs';
import { type ChainId } from '../../config';
export type GetCalculatedCashout = {
calculationId: string;
account: string;
environment: Environment;
tokenId: string;
cashoutAmount: string;
cashoutOdds: string;
expiredAt: number;
approveExpiredAt: number;
isLive: boolean;
} | null;
type Props = {
chainId: ChainId;
account: Address;
graphBetId: string;
};
export declare const getCalculatedCashout: (props: Props) => Promise<GetCalculatedCashout>;
export {};