Skip to content

Commit 2f9826f

Browse files
feat(mbe): update api spec
1 parent 690688a commit 2f9826f

File tree

1 file changed

+17
-36
lines changed

1 file changed

+17
-36
lines changed

masterBitgoExpress.json

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@
7373
}
7474
}
7575
},
76-
"202": {
77-
"description": "Accepted",
78-
"content": {
79-
"application/json": {
80-
"schema": {}
81-
}
82-
}
83-
},
8476
"400": {
8577
"description": "Bad Request",
8678
"content": {
@@ -153,28 +145,11 @@
153145
"walletPassphrase": {
154146
"type": "string"
155147
},
156-
"xprv": {
157-
"type": "string"
158-
},
159148
"feeRate": {
160-
"oneOf": [
161-
{
162-
"type": "string"
163-
},
164-
{
165-
"type": "number"
166-
}
167-
]
149+
"type": "number"
168150
},
169151
"maxFeeRate": {
170-
"oneOf": [
171-
{
172-
"type": "string"
173-
},
174-
{
175-
"type": "number"
176-
}
177-
]
152+
"type": "number"
178153
},
179154
"maxFeePercentage": {
180155
"type": "number"
@@ -245,15 +220,21 @@
245220
"description": "OK",
246221
"content": {
247222
"application/json": {
248-
"schema": {}
249-
}
250-
}
251-
},
252-
"202": {
253-
"description": "Accepted",
254-
"content": {
255-
"application/json": {
256-
"schema": {}
223+
"schema": {
224+
"type": "object",
225+
"properties": {
226+
"tx": {
227+
"type": "string"
228+
},
229+
"txid": {
230+
"type": "string"
231+
}
232+
},
233+
"required": [
234+
"tx",
235+
"txid"
236+
]
237+
}
257238
}
258239
}
259240
},

0 commit comments

Comments
 (0)