Metamask-extension: Add Transaction ID to Transaction Detail View

Created on 22 Sep 2018  路  13Comments  路  Source: MetaMask/metamask-extension

What problem are you trying to solve?
Currently as of 4.10 the user can expand transaction history and copy the sender and recipient addresses upon hovering.

image

Despite there being plenty of transaction details available, there is no way to copy to the transaction id in the same way, or at all.

The problem is that there is no way to copy the transaction id within the interface itself.

Describe the solution you'd like

The ability to copy the transaction id in the same area as the addresses would be what I'd like.

I've attached a few candidate solutions that I hope to inspire.

A) The transaction ID underneath the address hashes. I think a transaction ID is longer anyway, so it might be a good fit. The counterpoint being that who cares, just need a way to click it and get it on the clipboard, so it may not need much space.

image

B) The transaction ID within the transaction header.
image

Additional context
Attached above.

L03-UI T01-enhancement design feedback

All 13 comments

@1blockologist thanks for the suggestion. Curious - what's your usecase?

Also, you probably know this, but the small arrow on the top-right of the transaction detail view will take you to Etherscan, where you can easily pull the transaction hash.

@bdresser my use case is getting the transaction id in the same window, I'm not sure if I need to explain a specific use further than what I described in the first post. The small arrow on the top-right of the transaction detail view will take you to Etherscan, where you can easily pull the From and To addreess... whatever rationale that suggestor used for that feature is the same one here.

Hope that helps

I'm asking what you're going to do with the transaction ID! is a dapp asking for it? are you building a dapp that's asking users for it? are you just going to look up the transaction using a block explorer other than Etherscan for some reason?

The more we know about what users want, the more likely we are to build the right thing 馃槃

I would primarily use it for copying and pasting transactions IDs to people that I paid, so they can follow the transaction's progress towards confirmation.

Makes sense! Any reason to not use an Etherscan link for that?

Note, 4.11.0 seems to have removed this feature for me. Clicking on a transaction goes straight to etherscan, it was either rolled back or I got stuck in the hell section of the A/B test.

To answer your question blockexplorers don't relay unconfirmed transactions reliably and I'd rather not rely on them, although Etherscan will at least form the url slug from the txid whether there is info or not. There is no way to copy the transaction id within this wallet. If I tried to replace a transaction and had several pending transactions in Metamask, it would be convenient to quickly expand them and copy and txid's when I decided which one was the one I wanted. A tiny button in the collapsed version of the cell that let me copy it would be welcome too

we rolled back a couple features in 4.11 to address some issues users were experiencing.

once that expanded transaction detail view is back - clicking the small arrow icon on the top-right of the transaction detail view will take you to etherscan.

Would it be more productive for me or my team to submit a PR with this? We don't want to do the work and then get summarily dismissed

or do people do PRs + Issues

or is there another chatroom we can talk directly with you guys and the design team while we work on the code

@1blockologist we're in the middle of a redesign of the transaction detail view (https://github.com/MetaMask/Design/issues/25) so we'd prefer not to add another field in the middle of that work - especially since it's just a small improvement to the "View on Etherscan" link. Let's check back in a couple of weeks!

Thanks as always for the feedback.

How are we looking on this? Metamask 4.16 is pretty good

@1blockologist we'll post designs for what this could look like as soon as we have the bandwidth! Thanks for your patience.

Would love to see this enhancement in MetaMask. My use-case is using MetaMask to make transactions and then needing the transaction to use as input JSON-RPC APIs methods to get transaction details.

Thanks for adding the copy button for this simple feature!

Was this page helpful?
0 / 5 - 0 ratings