Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:bigearth/rest.bitbox.earth into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
cloneearth committed May 21, 2018
2 parents e3afdf0 + 315a3ab commit 517e0e5
Showing 1 changed file with 105 additions and 3 deletions.
108 changes: 105 additions & 3 deletions public/bitbox-rest-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,10 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/GetRawTransaction"
}
},
"400": {
"description": "Invalid Command"
Expand Down Expand Up @@ -1371,7 +1374,7 @@
"200": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/transactionDetails"
"$ref": "#/definitions/TransactionDetails"
}
},
"400": {
Expand Down Expand Up @@ -1860,7 +1863,106 @@
"VerifyChain": {
"type": "boolean"
},
"transactionDetails": {
"GetRawTransaction": {
"type": "object",
"properties": {
"hex": {
"type": "string"
},
"txid": {
"type": "string"
},
"hash": {
"type": "string"
},
"size": {
"type": "number"
},
"version": {
"type": "number"
},
"vin": {
"type": "array",
"items": {
"type": "object",
"properties": {
"txid": {
"type": "string"
},
"vout": {
"type": "number"
},
"scriptSig": {
"type": "object",
"properties":{
"asm": {
"type": "string"
},
"hex": {
"type": "string"
},
"sequence": {
"type": "string"
}
}
}
}
}
},
"vout": {
"type": "array",
"items":{
"type": "object",
"properties": {
"value":{
"type": "number"
},
"n": {
"type": "number"
},
"scriptPubkey": {
"type": "object",
"properties": {
"asm": {
"type": "string"
},
"hex": {
"type": "string"
},
"reqSigs": {
"type": "number"
},
"type": {
"type": "string"
},
"addresses": {
"type": "array",
"items": {
"address": {
"type": "string"
}
}
}
}
}
}
}
},
"blockhash": {
"type": "string"
},
"confirmations": {
"type": "number"
},
"time": {
"type": "blocktime"
},
"blocktime": {
"type": "number"
}
}
},
"TransactionDetails": {
"type": "object",
"properties": {
"txid": {
Expand Down

0 comments on commit 517e0e5

Please sign in to comment.