Skip to main content
DELETE
cURL

Authorizations

x-api-key
string
header
required

Path Parameters

positionPubkey
string
required

Position account public key

Minimum string length: 32

Body

application/json
ownerPubkey
string

Position owner public key

Minimum string length: 32

Response

Unsigned transaction that sells all contracts for a position

transaction
string | null
required

Base64 encoded transaction

txMeta
object | null
required

Transaction metadata

externalOrderId
string | null
required
order
object
required
requiredSigners
string[]

Public keys that must sign the returned transaction

execution
object

Execution details returned with an order build. Sign the build's transaction, then pass context unchanged to POST /execute.

executionModel
string | null

Execution model for the order. atomic_swap for Jupiter Forecast (bisonfi) orders, which execute as a single atomic swap through POST /execute. null for keeper-filled prediction orders.

settlement
string | null

Settlement mode. auto for Jupiter Forecast orders, which settle automatically. null for keeper-filled prediction orders.

jupiterSwapRequestId
string | null

Jupiter swap request id when the order executes as a swap (Jupiter Forecast). null otherwise.