Create auto-swap

The method create auto-swap request

Amount limits apply to creation:

  • the amount must be more than $30 in equivalent

  • the amount must be twice the commission of the network of the final coin/network (see the method of obtaining available coins)

Description of the request parameters

It is necessary to send one of the parameters: amountFrom or amountTo When specifying two parameters, the priority will be amountFrom

Include the network's commission in the swap amount

By specifying the feeInAmount parameter in the value true, the specified amount + network commission will be debited from the address

  • If you specify amountFrom, the final amount amountTo may slip (it may differ from the one specified after the creation request)

  • If you specify amountTo, the estimated amount of the debit from the address will be blocked + a percentage to cover the insurance of slippage. After the exchange is completed, the amount will be corrected to the amount that was spent for the swap. There may be a slight slippage (≈ 0.1%) of the final amount due to the imposition of swap filters on the amount to be received

Description of the response parameters

Statuses:

Last updated