Skip to content

swaps.getSwapBySourceId

GET
/v2/swap/source/{sourceId}

Parameters

Path Parameters

sourceId
required
string format: uuid

Query Parameters

source
required
string
Allowed values: swap deposit withdrawal fee_refund withdrawal_failed

Responses

200

200

object
id
required
string
in_asset
required
string
out_asset
required
string
in_amount
required
number
out_amount
required
number
source
string
Allowed values: swap deposit withdrawal fee_refund withdrawal_failed
source_id
string
ts
required
number
{
"id": "7bcf37dd-289a-4779-ab02-64ead00c60fd",
"in_asset": "BTC",
"out_asset": "USD",
"in_amount": 1337,
"out_amount": 0.5969
}

400

400