UNPKG

react-casino-roulette-updated

Version:
8 lines (7 loc) 482 B
import { BetId } from '../types'; /** * @example For a single number will get 36 times back. Betting 10$ will reward you with 360$. But since you payed 10$ for the bet, the total profit will be only 350$. * @see https://www.onlinegambling.com/casino/roulette/bets-payouts/#:~:text=online%20casino%20game.-,Roulette%20Payout%20Odds,-Bet%20Type */ export declare function calculatePayout(betId: BetId): number; export declare function getPayloadFromBetId(betId: string): string[];