Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 762 Bytes

File metadata and controls

12 lines (7 loc) · 762 Bytes

CreateParam

For order only. Represents a currency and its amount on a certain side (from or to). Used with OrderCreateV1Req; Don't be used with to of the preview interface (preview to uses PreviewToParam.ratio).

Properties

Name Type Description Notes
asset String Currency symbol, consistent with `GET /asset-swap/asset/list` and business support scope.
amount String The quantity of this currency on this side, decimal string (non-scientific notation). `from` represents the selling quantity, and `to` represents the target side quantity. Different from preview interface `to[].ratio`.