"timestamp": "2016.12.20. 1:15:36" // if unconfirmed it's the time our node first seen this transaction, utc
"timestamp": "2016.12.20. 1:15:36" // if unconfirmed it's the time our node first seen this transaction, utc
}
}
]
]
...
@@ -211,7 +211,7 @@ Works as expected.
...
@@ -211,7 +211,7 @@ Works as expected.
### Responses
### Responses
```
```
{
{
"synced": "true",
"isSynced": true,
"confirmed": "0.144",
"confirmed": "0.144",
"unconfirmed": "-6.23"
"unconfirmed": "-6.23"
}
}
...
@@ -228,7 +228,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
...
@@ -228,7 +228,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
"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"
"allowUnconfirmed": "true" // if spending unconfirmed outputs is allowed
"allowUnconfirmed": true // if spending unconfirmed outputs is allowed
}
}
```
```
...
@@ -236,7 +236,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
...
@@ -236,7 +236,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
#### Successful
#### Successful
```
```
{
{
"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"
"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",
"fee": "0.0001",
"feePercentOfSent": "0.1" // Percentage of the total spent amount, there must be a safety limit implemented here
"feePercentOfSent": "0.1" // Percentage of the total spent amount, there must be a safety limit implemented here