Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
82872f1c
Commit
82872f1c
authored
Mar 29, 2017
by
nopara73
Committed by
GitHub
Mar 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ApiSpecification.md
parent
c7e1e0c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
ApiSpecification.md
Breeze.Documentation/ApiSpecification.md
+29
-1
No files found.
Breeze.Documentation/ApiSpecification.md
View file @
82872f1c
...
@@ -96,7 +96,34 @@ POST /wallet/send-transaction - Attempts to send a transaction
...
@@ -96,7 +96,34 @@ POST /wallet/send-transaction - Attempts to send a transaction
# Details
# Details
## GET /wallet/general - Displays general information on the wallet
## GET /wallet/general - Displays general information on the wallet
### Responses
```
{
"success": "true",
"walletFilePath": "path to the wallet file",
"encryptedSeed": "6PYKWP34en1wELfcJDgXaFRPugjgkDdEk2p2Pzytm1158dxgNyLAUXwpKL",
"chainCode": "q/Fn7+RSIVM0p0Nj6rIuNkybF+0WKeSZPMQS2QCbDzY=",
"network": "main", // main/testnet
"creationTime": "2017-03-21",
"decrypted": "true",
"uniqueId": "sadwpiqjdpijwqdpijwqidjoi" // can only get if decrypted, if not it's empty string
}
```
## GET /wallet/sensitive - Displays sensitive information on the wallet
## GET /wallet/sensitive - Displays sensitive information on the wallet
### Parameters
```
{
"password": "password"
}
```
### Responses
```
{
"success": "true",
"extkey": "sadwqdpqoijedqcdoijsadoijsadisa",
"extpubkey": "dalkdsaklkjdlkjdsaljlkjdsalkjdsalk",
}
```
## GET /wallet/status - Displays dynamic information on the wallet
## GET /wallet/status - Displays dynamic information on the wallet
## POST /wallet/create - Creates the wallet
## POST /wallet/create - Creates the wallet
### Parameters
### Parameters
...
@@ -106,7 +133,7 @@ POST /wallet/send-transaction - Attempts to send a transaction
...
@@ -106,7 +133,7 @@ POST /wallet/send-transaction - Attempts to send a transaction
"password": "password"
"password": "password"
}
}
```
```
### Response
### Response
s
```
```
{
{
"success": "true",
"success": "true",
...
@@ -198,6 +225,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
...
@@ -198,6 +225,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
### Parameters
### Parameters
```
```
{
{
"password": "password",
"address": "1Xyz...",
"address": "1Xyz...",
"amount": "0.12", // in btc, if 0, then spends all available
"amount": "0.12", // in btc, if 0, then spends all available
"feeType": "low", // "low"/"medium"/"high"
"feeType": "low", // "low"/"medium"/"high"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment