Skip to main content
Locks your deposit in a new Print order. See Placing & Managing Orders for how Print orders work.

Operation Type (for Signing)

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”game”stringrequiredPrint product, set by market and cycle length: BTC_24H, BTC_7D, BTC_1M (30 days), ETH_24H, and so onBTC_24H
”deposit_amount”stringrequiredDeposit in USDC, minimum 101000.00
”direction”integerrequired0 - long: the order opens a long if the price falls to the target
1 - short: the order opens a short if the price rises to the target
1
”strike_price”stringrequiredTarget price95000.00
”leverage”stringrequiredLeverage, up to the market’s maximum2.0
”total_segments”integeroptionalNumber of cycles the order runs, 1 to 1000. If omitted, the order rolls over until you end it7
”idempotency_key”stringoptionalFull UUID string. Prevents duplicate orders550e8400-e29b-41d4-a716-446655440000
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“expiry_window”integeroptionalSignature expiry in milliseconds30000
”builder_code”stringoptionalBuilder program code (3-16 alphanumeric characters). See belowMYCODE

Builder codes

A builder code on a Print order pays its owner 10% of each premium of that order. The premium is the yield, and it is paid at the start of every cycle, so the reward applies to every roll-over. A later liquidation does not reverse it.
  • The user pays no fee for the code. The reward comes from Pacifica’s revenue.
  • The user’s referrer earns nothing for an order that carries a builder code.
  • The user must have approved a code from the same builder. The approval’s max_fee_rate does not need to cover the code’s fee rate.
  • A code that belongs to the user’s own account or one of their subaccounts is ignored, and the order is placed without it.
See the Builder Program for how to get a code.

Response

  • Status 200: Order created successfully
game_account_address is the address of the new Print order.
  • Status 400: Bad request
  • Status 401: Unauthorized
  • Status 409: Duplicate idempotency key
  • Status 500: Internal server error

Code Example (Python)