Documentation
    Preparing search index...
    • Set the builder fee cap: the most a trade's builder fee can charge per contract, in FLOAT_SCALING of a contract's $1 payout, from 0 up to the whole payout. A trade that names a higher fee pays the cap. Read when an order is admitted, so the new cap applies to the next order on every market, and an order already queued keeps the fee it was admitted with. 0 stops builder fees.

      Not gated on the valuation flag, matching set_fee_incentive_subsidy_rate: nothing in the flush reads the cap, and a builder fee leaves with the trader's own payment, never market cash.

      Parameters

      Returns (tx: Transaction) => TransactionResult