/
v3.0.11Get access

Bet Types

Union

Structure of a bet — how its selections are combined

Possible values

Every literal this type accepts.

ValueDescription
'none'No bet type set — the unspecified default.
'single'One selection, one stake. The whole stake rides on that selection.
'multiple'All selections combined into one wager whose odds are multiplied together. Every selection must win.
'system'Every combination of a chosen size out of the selections, each as its own wager, so a partial hit still pays.
'chain'Selections settled one after another, with the returns of each leg carried over as the stake of the next.
'trixie'3 selections, 4 wagers — 3 doubles and 1 treble. No singles.
'yankee'4 selections, 11 wagers — 6 doubles, 4 trebles and 1 fourfold. No singles.
'superYankee'5 selections, 26 wagers — every double through fivefold. Also known as a Canadian.
'heinz'6 selections, 57 wagers — every double through sixfold. No singles.
'superHeinz'7 selections, 120 wagers — every double through sevenfold. No singles.
'goliath'8 selections, 247 wagers — every double through eightfold. No singles.
'patient'3 selections, 7 wagers — 3 singles, 3 doubles and 1 treble. Also a Patent.
'lucky_15'4 selections, 15 wagers — 4 singles, 6 doubles, 4 trebles and 1 fourfold.
'lucky_31'5 selections, 31 wagers — every single through fivefold.
'lucky_63'6 selections, 63 wagers — every single through sixfold.
'betBuilder'Several selections from the same event combined into one wager with provider-priced odds.
'internalBetBuilder'A bet builder wager priced by the platform itself rather than an external provider.

Notes

The wire format is a numberThe swarm transports bet types as numeric codes, and the SDK converts between the name and the code for you in both directions — pass the string and you never have to touch a number. You will still see the codes in raw swarm payloads and in logs, so here is the full list: none 0, single 1, multiple 2, system 3, chain 4, trixie 5, yankee 6, superYankee 8, heinz 9, superHeinz 10, goliath 11, patient 12, lucky_15 14, lucky_31 15, lucky_63 16, betBuilder 50 and internalBetBuilder 51. The numbering is historical rather than sequential — 7 and 13 are unused, superYankee (8) comes before heinz (9), and the two bet builder types sit apart at 50 and 51 — so read a code off this list instead of inferring it from the order of the table above.
Was this page helpful?