@@ -128,7 +117,6 @@ POST /wallet/send-transaction - Attempts to send a transaction
### Responses
```
{
"success": "true",
"connectedNodeCount": "7",
"maxConnextedNodeCount": "8",
"headerChainHeight": "1048",
...
...
@@ -151,7 +139,6 @@ POST /wallet/send-transaction - Attempts to send a transaction
### Responses
```
{
"success": "true",
"mnemonic": "foo bar buz",
}
```
...
...
@@ -185,7 +172,6 @@ Works as expected.
### Responses
```
{
"success": "true",
"addresses": // 7 unused receive address (7 is the best number: https://www.psychologytoday.com/blog/fulfillment-any-age/201109/7-reasons-we-7-reasons)
[
"mzz63n3n89KVeHQXRqJEVsQX8MZj5zeqCw",
...
...
@@ -203,7 +189,6 @@ Works as expected.
### Responses
```
{
"success": "true",
"history":
[
{
...
...
@@ -226,7 +211,6 @@ Works as expected.
### Responses
```
{
"success": "true",
"synced": "true",
"confirmed": "0.144",
"unconfirmed": "-6.23"
...
...
@@ -252,7 +236,6 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
#### Successful
```
{
"success": "true",
"spendsUnconfirmed": "false", // If spends unconfirmed you can ask the user if it's sure about spending unconfirmed transaction (if inputs are malleated or inputs never confirm then this transaction will never confirm either"
"fee": "0.0001",
"feePercentOfSent": "0.1" // Percentage of the total spent amount, there must be a safety limit implemented here
...
...
@@ -303,11 +286,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
#### Errors
```
{
"success": "false",
"message": "wallet is not synced",
"description": ""
}
400 - "wallet is not synced"
```
## POST /wallet/send-transaction - Attempts to send a transaction