Freeze rate for Operations with Exchange
This endpoint is used to freeze the exchange rate for a certain period to facilitate the subsequent exchange of one asset for another. The frozen rate includes transaction costs, which are components of the exchange operation (deposit, exchange, withdrawal), and may vary depending on the type of operation.
For example, for a crypto-to-crypto exchange operation (where both the target and source assets are already in the customer's account), the exchange rate will be more favorable than for a deposit with an exchange operation (where the client buys crypto with fiat). Additionally, the selected payment method for the operation can influence the exchange rate.
To determine which assets are being exchanged, it is sufficient to specify the source and target assets: the source asset is the currency being exchanged, while the target asset is the currency being received. It is also necessary to indicate either the source amount (the amount the client is willing to spend as the source asset) or the target amount (the amount the client wishes to receive).
For accurate calculation of the frozen rate, it is essential to specify the type of operation for which the freezing is carried out.
Deposit and withdrawal payment methods available for operation types can be obtained using a pre-request for operations and should be also provided.
The default freeze rate duration is 30 seconds, although this value can be changed for different types of currencies.