Closed peng-huang-ch closed 1 year ago
It might be a good idea to add a query param to that API endpoint that signals whether or not to include conflicting.
@kajoseph
I would add a query params like https://****/api/DOGE/mainnet/address/DS2cpSDvZXHzhZEyBEbTNuQTgonoHkFM4n/?unspent=true&conflicting=false
. should I make a pr or just close it.
PRs are welcome :)
@kajoseph Please review the #3591, THX.
Use the
Get Transaction Outputs by Address
https://****/api/DOGE/mainnet/address/DS2cpSDvZXHzhZEyBEbTNuQTgonoHkFM4n/?unspent=true
the result contains
conflicting
coins.Expect:
remove the
conflicting
coins.The getBalanceForAddress will filter out the
conflicting
coins.There should be the same logic for getting
unspent
outputs?