UNPKG

kohin-js

Version:

The Kohin JS is a comprehensive developer toolkit designed to integrate Kohin's decentralized insurance system seamlessly into your applications. It enables efficient interaction with Kohin smart contracts and backend APIs, facilitating management and ana

58 lines (57 loc) 1.18 kB
export interface MySlipsParams { bettor: string; pageCount: number; } export interface MySlips { amount: string; rawAmount: string; betId: string; odds: string; premium: string; coverStatus: string; coverId: string; timestamp: string; transactionHash: string; user: string; id: string; claimableAmount: string; claimableAt: string; claimedAmount: string; claimedAt: string; betType: number; blockNumber: string; blockTimestamp: string; depositId: string; bettor: string; status: string; result: string; type: string; imageUrl: string; potentialPayout: string; _subBetsCount: number; createdBlockTimestamp: string; _wonSubBetsCount: number; _lostSubBetsCount: number; _updatedAt: string; _games: Game[]; _conditions: Condition[]; selections: Selection[]; } interface Game { title: string; league: League; startsAt: string; } interface League { name: string; } interface Condition { conditionId: string; coreAddress: string; game: Game; } interface Selection { _outcomeId: string; odds: string; } export {};