BentoSDK

Glossary

Plain definitions for the terms you'll meet across the docs and the SDK.

TermWhat it means
DuelA market. The SDK uses "duel" (the on-chain term) and "market" interchangeably — sdk.public.duels and sdk.public.markets are aliases.
duelId vs idEvery market row has both. duelId is the on-chain id — use it for detail, bets, and charts. id is the database row id.
Outcome / optionA side of a market. Bets reference optionIndex (0 or 1), not a 'YES' / 'NO' label.
StakeThe amount you put on a bet or parlay, in collateral base units (wei).
SharesWhat a bet buys — your position size in a market.
ParlayA multi-leg bet across markets; all legs must win. Placed on-chain via the tournaments host.
LegOne selection inside a parlay ({ outcomeId }).
PackA bundled points game on the markets host.
Parent marketA grouped event with several child markets.
TournamentA bracket competition with a vault, entries, and Merkle payouts.
Managed accountThe address Bento provisions for your signing key — where your funds and positions live (not your wallet's own address).
EOA / signing keyThe wallet you sign the login message with. It proves identity; it isn't where funds sit.
Credits vs USDCTwo collateral stacks (collateralMode). Credits are not geo-gated; the USDC stack is.
weiAmounts are token base units — 18 decimals on BSC / credits. '10000000000000000000' is 10, not '10'.
Markets host / tournaments hostThe two backends — baseUrl vs tournamentsBaseUrl.
Bearer JWTThe token from eoaLogin you send as Authorization: Bearer for markets sdk.user calls.