/* * Gate API v4 * * Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. * * Contact: support@mail.gate.io * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package gateapi // Parameters of flash swap order creation type FlashSwapOrderRequest struct { // Preview result ID PreviewId string `json:"preview_id"` // The name of the asset being sold, as obtained from the \"GET /flash_swap/currency_pairs\" API, which retrieves a list of supported flash swap currency pairs. SellCurrency string `json:"sell_currency"` // Amount to sell (based on the preview result) SellAmount string `json:"sell_amount"` // The name of the asset being purchased, as obtained from the \"GET /flash_swap/currency_pairs\" API, which provides a list of supported flash swap currency pairs. BuyCurrency string `json:"buy_currency"` // Amount to buy (based on the preview result) BuyAmount string `json:"buy_amount"` }