Skip to main content
POST
Создать конвертацию

Authorizations

X-Signature
string
header
required

HMAC-SHA256-Hex(timestamp + "." + raw_body, api_secret)

Body

application/json
sourceAssetCode
string
required

Код актива-источника.

Example:

"ETH"

targetAssetCode
string
required

Код целевого актива (стейбл).

Example:

"USDT_ERC20"

network
enum<string>
required

Сеть исполнения.

Available options:
TRON,
TON,
ETHEREUM,
BSC,
POLYGON,
BITCOIN,
LITECOIN,
XRP,
SOLANA
Example:

"ETHEREUM"

amountIn
string
required

Сумма к конвертации (string).

Example:

"1.5"

maxSlippageBps
number

Допустимое проскальзывание в bps (по умолчанию — из настроек).

Response

201 - application/json
uuid
string
required
status
string
required
Example:

"queued"

sourceAssetCode
string
required
targetAssetCode
string
required
network
string
required
sourceAmount
string
required
quotedAmountOut
string
required
executedAmountOut
object | null
required
quotedRate
string
required
executedRate
object | null
required
minAmountOut
string
required
providerKind
string
required
Example:

"dex"

failReason
object | null
required
createdAt
string<date-time>
required
settledAt
object | null
required