bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.86k stars 2.09k forks source link

Insight: Remove output selected pill #3491

Closed lanchana closed 1 year ago

kajoseph commented 1 year ago

I think we'll need another query param like voutIndex

If you click on an output -> then it should go to the txid with ?fromVout=true&voutIndex=<output index that was clicked> If you click on an input -> then it should go to the txid with ?fromVout=false&voutIndex=<mintIndex>

EDIT: it looks like detailIdx is actually supposed to be voutIndex. Personally, "detailIdx" is a bit confusing in the context of UTXOs. Could we rename it to voutIndex so it's more apparent that it's correlated to fromVout?

kajoseph commented 1 year ago

I also noticed that erroneous query params show up when I click on a txid link.

image image

It seems like this link is being handled as if it were the link inside the input/output? image