Skip to content

Commit

Permalink
Merge pull request #7 from ericx2x/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
cgcardona authored May 21, 2018
2 parents 507b57a + e6247b9 commit d467c01
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

200 changes: 197 additions & 3 deletions public/bitbox-rest-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,10 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/transactionDetails"
}
},
"400": {
"description": "Invalid Command"
Expand Down Expand Up @@ -1421,7 +1424,10 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/CreateMultisig"
}
},
"400": {
"description": "Invalid Command"
Expand Down Expand Up @@ -1451,7 +1457,10 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/ValidateAddress"
}
},
"400": {
"description": "Invalid Command"
Expand Down Expand Up @@ -1857,5 +1866,190 @@
},
}
},
"transactionDetails": {
"type": "object",
"properties": {
"txid": {
"type": "string"
},
"version": {
"type": "number"
},
"locktime": {
"type": "number"
},
"vin": {
"type": "array",
"items": {
"type": "object",
"properties": {
"txid": {
"type": "string"
},
"vout": {
"type": "number"
},
"sequence": {
"type": "number"
},
"n": {
"type": "number"
},
"scriptSig": {
"type": "object",
"properties": {
"hex": {
"type": "string"
},
"asm": {
"type": "string"
},
"value": {
"type": "number"
},
"legacyAddress": {
"type": "string"
},
"cashAddress": {
"type": "string"
}
}
}
}
}
},
"vout": {
"type": "array",
"items": {
"objects": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"n": {
"type": "number"
},
"scriptPubkey": {
"type": "object",
"properties": {
"hex": {
"type": "string"
},
"asm": {
"type": "string"
},
"addresses": {
"type": "array",
"items": {
"address": {
"type": "string"
}
}
},
"type": {
"type": "string"
}
}
},
"spentTxId": {
"type": "string"
},
"spentIndex": {
"type": "number"
},
"spentHeight": {
"type": "number"
}
}
},
"type": "object",
"properties": {
"value": {
"type": "number"
},
"n": {
"type": "number"
},
"scriptPubkey": {
"type": "object",
"properties": {
"hex": {
"type": "string"
},
"asm": {
"type": "string"
}
}
},
"spentTxId": {
"type": "string"
},
"spentIndex": {
"type": "number"
},
"spentHeight": {
"type": "number"
}
}
}
},
"blockhash": {
"type": "string"
},
"blockheight": {
"type": "number"
},
"confirmations": {
"type": "number"
},
"time": {
"type": "blocktime"
},
"valueOut": {
"type": "number"
},
"size": {
"type": "number"
},
"valueIn": {
"type": "number"
},
"fees": {
"type": "number"
}
}
},
"createMultisig": {
"type": "object",
"properties": {
"xxxxxxxx": {
"type": "boolean"
}
}
},
"ValidateAddress": {
"type": "object",
"properties": {
"isvalid": {
"type": "boolean"
},
"address": {
"type": "string"
},
"scriptPubKey": {
"type": "string"
},
"ismine": {
"type": "boolean"
},
"iswatchonly": {
"type": "boolean"
},
"isscript": {
"type": "false"
}
}
}
}
}

0 comments on commit d467c01

Please sign in to comment.