explorer-backend icon indicating copy to clipboard operation
explorer-backend copied to clipboard

Add unconfirmed tokens in getApiV1AddressesP1BalanceTotal

Open capt-nemo429 opened this issue 3 years ago • 5 comments

currently only unconfirmed nanoErgs are being included

capt-nemo429 avatar Dec 24 '21 12:12 capt-nemo429

Hi, confirmed & unconfirmed tokens are being included in this api. can you check again

monyedavid avatar Dec 28 '21 09:12 monyedavid

Hi, just checked. Sent some tokens to this address: 9gKbKcLWeEbdKAb1PnWtNTj2TpHTEbc9MVpRAndTm5onFPAs7gv, but only unconfirmed erg are showing up.

Screenshot 2021-12-28 08 51 17

capt-nemo429 avatar Dec 28 '21 11:12 capt-nemo429

Additionally, #141 applies here, too. The unconfirmed amount is calculated wrong when there are boxes spent for the address. Only the incoming boxes are taken into account.

MrStahlfelge avatar Dec 28 '21 12:12 MrStahlfelge

OK, looking at both issues now

monyedavid avatar Dec 28 '21 14:12 monyedavid

Great, maybe you can somehow integrate this with #137 (there's a bounty open)

MrStahlfelge avatar Dec 28 '21 15:12 MrStahlfelge