mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-24 19:53:19 +00:00
add mockoon route for taker psbt submission
This commit is contained in:
@ -200,6 +200,54 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responseMode": null
|
"responseMode": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "34bda159-89cf-453c-bf5c-fa532b35f202",
|
||||||
|
"type": "http",
|
||||||
|
"documentation": "Taker submits the psbt as json to the coordinator. ",
|
||||||
|
"method": "post",
|
||||||
|
"endpoint": "submit-taker-psbt",
|
||||||
|
"responses": [
|
||||||
|
{
|
||||||
|
"uuid": "e9f64b19-94d0-4356-8892-d05466abbc5d",
|
||||||
|
"body": "",
|
||||||
|
"latency": 0,
|
||||||
|
"statusCode": 200,
|
||||||
|
"label": "Returned if psbt/signature is valid.",
|
||||||
|
"headers": [],
|
||||||
|
"bodyType": "INLINE",
|
||||||
|
"filePath": "",
|
||||||
|
"databucketID": "",
|
||||||
|
"sendFileAsBody": false,
|
||||||
|
"rules": [],
|
||||||
|
"rulesOperator": "OR",
|
||||||
|
"disableTemplating": false,
|
||||||
|
"fallbackTo404": false,
|
||||||
|
"default": true,
|
||||||
|
"crudKey": "id",
|
||||||
|
"callbacks": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "fdfb8fc1-1d54-46fc-b5ad-174f761120c1",
|
||||||
|
"body": "{}",
|
||||||
|
"latency": 0,
|
||||||
|
"statusCode": 406,
|
||||||
|
"label": "Returned if the signature is invalid or the psbt has been changed ",
|
||||||
|
"headers": [],
|
||||||
|
"bodyType": "INLINE",
|
||||||
|
"filePath": "",
|
||||||
|
"databucketID": "",
|
||||||
|
"sendFileAsBody": false,
|
||||||
|
"rules": [],
|
||||||
|
"rulesOperator": "OR",
|
||||||
|
"disableTemplating": false,
|
||||||
|
"fallbackTo404": false,
|
||||||
|
"default": false,
|
||||||
|
"crudKey": "id",
|
||||||
|
"callbacks": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responseMode": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rootChildren": [
|
"rootChildren": [
|
||||||
@ -226,6 +274,10 @@
|
|||||||
{
|
{
|
||||||
"type": "route",
|
"type": "route",
|
||||||
"uuid": "cb932396-c73e-4a4c-9f1a-b4de5250cb16"
|
"uuid": "cb932396-c73e-4a4c-9f1a-b4de5250cb16"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "route",
|
||||||
|
"uuid": "34bda159-89cf-453c-bf5c-fa532b35f202"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"proxyMode": false,
|
"proxyMode": false,
|
||||||
|
Reference in New Issue
Block a user