Calculation API
Chip starting stacks
Plan the physical chips for a live event: which denominations to use and how many of each to put in every player's starting stack, for a target stack size and player count.
POST /v1/calculations/chips/starting-stack
Smallest runnable example
Code
Important inputs
startingStack— the chip total each player should start with.startingStackMode(optional) —manualorbig-blinds.players— the field size, used to plan inventory.firstSmallBlind/firstBigBlind— opening blind level.targetStyle—efficient,comfortable, ordeep-stack.denominations— 1-10 denomination objects withvalueand optionallabel/color.
Optional inventory controls include availableSet, rebuyReserve, addonReserve,
desiredStartingBigBlinds, and allowReserveDenominationSubstitution. Reserve counts can be fixed
or percentage-based.
Response highlights
- A per-player breakdown: how many of each denomination make up the starting stack.
- A total inventory needed across the field.
- The standard envelope:
requestId,creditsCharged,engine,method,warnings, andresult.
result contains perPlayerStack, startingTotalChips, grandTotalChips, reserve,
inventory, summary, advice, input, and meta. Stack entries include denominationValue,
label, nullable color, count, and totalValue. method.type is deterministic.
Common mistakes
- Denominations that can't cleanly compose the target stack.
- Forgetting the smallest denomination needed for early blind levels — cross-check with your blind structure.