explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Make it clearer what the state of a transaction is and what it means

Open 314159265359879 opened this issue 7 months ago • 3 comments

Make much clearer when transactions are Confirmed: success, Confirmed: failed or dropped and what that means.

Is your feature request related to a problem? Please describe. When a user sees this they do not understand the transaction isn't a success... they do not see that "dropped" at the top and/or do not understand what it means. Why isn't this whole page painted red for dropped and failed transactions?

image

Describe the solution you'd like So a very clear distinction between confirmed succesful transactions, confirmed failed transactions and dropped/expired transactions

add an explainer on the explorer for each of such states: something like these drafts:

  • Dropped/Expired "A dropped transaction is a transaction that could not or can not be mined, it expired after 256 blocks of not getting mined" Or it is otherwise unprocessable. Mining fees are not incurred and the transaction does not become part of the chain history. Some indexers may still show data of the transaction as long as they hold a copy.

Note that a transaction can be dropped but not yet expired. I have seen this for transactions that have a nonce that has already been confirmed but the transaction is not yet 256 blocks old so it could still be mined if the chain forks/reorgs. I am not sure if you want to cover that too with a specific state and explanation could be helpful: Central exchanges may not consider refunds until they are sure a transaction that is dropped also is expired.

  • A confirmed: failed transaction A confirmed: failed transaction is a transaction that was included in a block by miners but it turned out that the rules of the protocol (Stacks protocol or Smart contracts) dictated that it had to be failed. Usually the error code and/or the contract can give you more of an insight about the exact error. Example: swaps on a DEX often fail with the error "Too much slippage" which means the price change would have exceeded the users maximum tolerance. Mining fees are paid to the miner and non-refundable.

  • A confirmed: successful transaction A confirmed and successful transaction is a transaction that is included in a block and does what the user signed for. Mining fees are paid to the miner and non-refundable.

Additional context Add any other context or screenshots about the feature request here.

314159265359879 avatar Jan 07 '24 22:01 314159265359879

Something like this: image

314159265359879 avatar Jan 07 '24 23:01 314159265359879

As you mentioned showing clear transaction status is very important. We have that in our backlog but unfortunately, we couldn't get to work on it yet.

andresgalante avatar Jan 08 '24 12:01 andresgalante

Bump, any chance this could be prioritized prior to the Nakamoto activation?

314159265359879 avatar Apr 05 '24 09:04 314159265359879