latestOpenAPI 3.0.0Copyright2026-08-083772120.3 KB
b3be06047493
Order Transactions
post/orders/txns/prepare
Request body
subaccountApprovalRecordStringAny
Construct a type with a set of properties K of type T
subaccountAddressstring
fromstring
mode'express' | 'classic' required
uiFeeReceiverstring
referralCodestring
autoCancelboolean
gasPaymentTokenstring
manualSwapPathstring[]
keepLeverageboolean
receiveTokenstring
executionFeeBufferBpsnumber double
acceptablePriceImpactBpsstring
slippagenumber double
collateralTokenstring
triggerPricestring
sizestring
orderType'market' | 'limit' | 'stop-market' | 'take-profit' | 'stop-loss' | 'twap' required
direction'long' | 'short'
symbolstring
kind'increase' | 'decrease' | 'swap' required
Response
Success
traceIdstring
warningsstring[]
expiresAtnumber double
payloadRecordStringAny required
Construct a type with a set of properties K of type T
requestIdstring required
mode'express' | 'classic' required
payloadType'transaction' | 'typed-data' required