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
playerAddresscoinTypestaketargetMultiplier
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
100as the default multiplier scale. targetMultiplier: 2.5becomes250before being sent to Move.- Use a custom
scaleonly 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