forked from bitpay/insight-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
{
"addrStr": "3BMEXaoHgJH6KZD4RAWji6KccBvfBrjnTM",
"balance": 0.21787703,
"balanceSat": 21787703,
"totalReceived": 0.66477923,
"totalReceivedSat": 66477923,
"totalSent": 0.4469022,
"totalSentSat": 44690220,
"unconfirmedBalance": -0.21787703,
"unconfirmedBalanceSat": -21787703,
"unconfirmedSent": 0.21787703,
"unconfirmedSentSat": 21787703,
"unconfirmedReceived": 0,
"unconfirmedReceivedSat": 0,
"unconfirmedTxApperances": 1,
"txApperances": 14
}Tx was here
This is reporting an unconfirmed sent of 0.21787703 which is incorrect.
It is sending 0.21723637 to an address and 0.00014066 back to itself as change, plus a tx fee of 0.0005
Ok basically it is totally not counting the change
The tx has been confirmed now, but while it was unconfirmed it was showing
"unconfirmedSentSat":21787703
and
"unconfirmedReceivedSat":0
The tx was sending 14066 of change to itself which insight did not include, so unconfirmed sent should have been 21773637
After confirmation, is now:
{
"addrStr": "3BMEXaoHgJH6KZD4RAWji6KccBvfBrjnTM",
"balance": 0.00014066,
"balanceSat": 14066,
"totalReceived": 0.66477923,
"totalReceivedSat": 66477923,
"totalSent": 0.66463857,
"totalSentSat": 66463857,
"unconfirmedBalance": 0,
"unconfirmedBalanceSat": 0,
"unconfirmedSent": 0,
"unconfirmedSentSat": 0,
"unconfirmedReceived": 0,
"unconfirmedReceivedSat": 0,
"unconfirmedTxApperances": 0,
"txApperances": 15,
"transactions": [
...
]
}Metadata
Metadata
Assignees
Labels
No labels