JJagaro Docs
Operator integration

Currencies and amount precision

Last updated 10/19/2026

Wallet callbacks use exact decimal strings in major currency units for amount, result and balance. For example, "10.50" USD means 10 dollars and 50 cents.

Currency definitions

These currency definitions are supported by the current contract. A definition does not enable a currency for your operator; confirm your allowed currencies and limits during onboarding.

CurrenciesDecimal placesExample of one smallest unit
JPY, KRW0"1"
USD, EUR, GBP, RUB2"0.01"
BHD, KWD, OMR, TND3"0.001"
USDT, USDC6"0.000001"
BTC8"0.00000001"
ETH18"0.000000000000000001"

Do not assume that every fiat currency has two decimals or every cryptocurrency has the same precision. Unsupported currency codes must be agreed and configured before use.

Decimal representation

  • Send JSON strings, not JSON numbers: "10.00", not 10.
  • Use a dot as the decimal separator. Do not use exponent notation, signs, whitespace, grouping separators or padded leading zeroes.
  • Balances are non-negative. A zero balance is valid; an unknown balance is not zero.
  • A response may omit insignificant trailing fractional zeroes, but must never exceed the currency scale. For example, "10", "10.0" and "10.00" are valid USD balances. "10.001" is not.
  • The balance format allows at most 30 integral digits and at most the currency scale of fractional digits. Your configured wallet limits may be lower.

Use decimal arithmetic or exact integer minor units internally. Do not pass wallet amounts through JavaScript Number, binary floating-point arithmetic or a generic two-decimal rounding function.

Payouts and limits

Apply the supplied withdrawal result exactly once. Jagaro owns game payout calculation, currency rounding and the accepted game limits. The displayed coefficient is informational and must not be used to reconstruct a credit. A payout can be affected by currency precision and the agreed maximum win.

Keep the original request currency and amount with every transaction receipt. Configuration changes must not rewrite the terms or receipt of an existing transaction. Duplicate responses return the original recorded balance, not a newly calculated current balance.

Next: test the wallet and recovery contract.