Inputs to computeHints: the position shape plus optional trial/seed overrides.

interface ComputeHintsParams {
    collateral: bigint;
    entireDebt: bigint;
    numTrials?: number;
    randomSeed?: bigint;
}

Hierarchy (View Summary)

Properties

collateral: bigint

Collateral in BTC wei (1e18).

entireDebt: bigint

The position's ENTIRE debt (e.g. for an open: draw + fee + 200).

numTrials?: number

Override the auto-scaled trial count (skips the getSize() read).

randomSeed?: bigint

Override the sampling seed (default DEFAULT_HINT_RANDOM_SEED).