Place order
post
Authorizations
Body
objectOptional
Responses
200
Default Response
application/json
Responseobject
post
POST /v1/swaps/utxo/place-order HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 272
{
"providerCode": "magiceden_utxo",
"btcPubKey": "...",
"to": {
"protocol": "runes",
"ticker": "840000:28"
},
"ordPubKey": "...",
"btcAddress": "...",
"orders": [
{
"price": "100",
"amount": "0100",
"identifier": "<uuid>"
}
],
"ordAddress": "...",
"feeRate": 7,
"from": {
"ticker": "BTC",
"protocol": "btc"
}
}
200
Default Response
{
"orderId": "...",
"psbt": "...",
"orders": [
{
"identifier": "...",
"amount": "...",
"price": "..."
}
],
"serviceFee": ".."
}
Last updated