Order Transactions

POST /orders/txns/collateral/prepare

Changed on

Request

Request body

subaccountApprovalRecordStringAny

Construct a type with a set of properties K of type T

subaccountAddressstring
fromstring required
mode'express' | 'classic' required
uiFeeReceiverstring
gasPaymentTokenstring
executionFeeBufferBpsnumber double
slippagenumber double
amountstring required
positionKeystring required
operation'deposit' | 'withdraw' 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

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status