Execute order
post
Authorizations
Body
objectOptional
Responses
200
Default Response
application/json
Responseobject
post
POST /v1/swaps/utxo/execute-order HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 238
{
"psbt": "...",
"orders": [
{
"amount": "100000",
"identifier": "uuid",
"price": "300"
},
{
"price": "200",
"identifier": "uuid",
"amount": "40000"
}
],
"providerCode": "magiceden_utxo",
"btcAddress": "...",
"ordAddress": "...",
"btcPubKey": "...",
"ordPubKey": "..."
}
200
Default Response
{
"txid": "1234"
}
Last updated