Skip to main content

Limbo

Use Limbo when you want to build a wager around a target multiplier.

What the builder does

createBetTransaction('limbo', options) converts your multiplier into the fixed-point values expected by the contract, then builds the Limbo play transaction.

Required options

  • playerAddress
  • coinType
  • stake
  • targetMultiplier

Optional game-specific options

  • scale

Example

const tx = client.suigar.tx.createBetTransaction('limbo', {
playerAddress: '0x123',
coinType: '0x2::sui::SUI',
stake: 1_000_000_000n,
betCount: 3,
targetMultiplier: 2.5,
});

Notes

  • The SDK uses 100 as the default multiplier scale.
  • targetMultiplier: 2.5 becomes 250 before being sent to Move.
  • Use a custom scale only if your integration needs to stay aligned with a different fixed-point representation.
  • partner attribution is injected automatically when the extension is registered with partner