Skip to main content
Function:
ABI Object:
Parameters:
  • auth - The account signer
  • subaccount - The Trading Account object
  • market - The SpotMarket object
  • sequence_number - Monotonic sequence number used to replace the resting ladder `<u64>`
  • bid_prices - Bid prices in raw quote units `<vector<u64>>`
  • bid_sizes - Bid sizes in raw base units `<vector<u64>>`
  • ask_prices - Ask prices in raw quote units `<vector<u64>>`
  • ask_sizes - Ask sizes in raw base units `<vector<u64>>`
  • builder_address - Optional builder/referrer address `<Option<address>>`
  • builder_fees - Optional builder fee cap `<Option<u64>>`
A single builder code applies to every level of the bulk order.
Each call replaces the account’s entire resting ladder on that market rather than adding to it. Use a strictly increasing sequence_number so stale submissions are rejected rather than reinstating an old ladder.
Spot bulk orders are funded from the primary fungible store (PFS) only — unlike single spot orders, they do not fall back to collateral-backed storage. The transaction aborts if PFS is short on either side of the ladder.
To place a ladder directly from a wallet, use place_spot_bulk_order, which takes the same arguments without the subaccount parameter. Example: