cURL
default
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}'
200
BTC deposit channel created
{ "depositAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh", "channelId": "1234567890", "issuedBlock": 1000000, "sourceChainExpiryBlock": 1002880}
Creates a broker deposit channel for a Chainflip swap.
Deposit channel created successfully
The response is of type object.
object