Order Transactions

post/orders/txns/collateral/prepare

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

Changed in 1 of the 2 revisions of this API.2

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added