POST
/
v1
/
chainflip-deposit-channel
curl --request POST \
--url https://api.dkit.xyz/v1/chainflip-deposit-channel \
--header 'Content-Type: application/json' \
--data '{
"buyAsset": "ETH.ETH",
"sellAsset": "BTC.BTC",
"destinationAddress": "0x817bFA97Cc8E5Bfa499D401f43E3087B07AE96f9",
"affiliateCode": "eld",
"affiliateBps": 50,
"maxBoostFeeBps": 100
}'
{
"depositAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"channelId": "1234567890",
"issuedBlock": 1000000,
"sourceChainExpiryBlock": 1002880
}

Body

application/json

Response

200
application/json

Deposit channel created successfully

The response is of type object.