-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Update evm tx history API #417
Comments
@Peppermint1020 @zhouxl specs needed here too |
Hi Antonio, I’ve added the specs for this feature. Please have a look when you get a chance. Thanks! |
Thanks @Peppermint1020.
Should I apply the same update to the other two (
or
|
@caosbad @zzggo I noticed there are some account detail URLs
Should these be updated too? I see in this commit, Update: I've just noticed that their first-level domains are different ( |
Description:
Currently, the EVM transaction history API uses the Cadence transaction history URL (https://www.flowscan.io/tx/[tx id]) for retrieving transaction details. We would like to update this for EVM accounts to use the Flow EVM explorer transaction URLs (https://evm.flowscan.io/tx/[tx id]), while keeping the existing URL format for Flow accounts unchanged.
Proposed Changes:
Update the transaction history API specifically for EVM accounts to use the Flow EVM explorer URL: https://evm.flowscan.io/tx/[tx id].
Do not change the transaction history API for Flow accounts; the URL format for Flow accounts should remain as https://www.flowscan.io/tx/[tx id].
Expected Behavior:
For EVM accounts, the transaction history API should return URLs in the format: https://evm.flowscan.io/tx/[tx id].
For Flow accounts, the transaction history API should continue returning URLs in the format: https://www.flowscan.io/tx/[tx id].
Both APIs should work independently for EVM and Flow accounts.
Use Case:
This update will ensure that EVM accounts are using the correct URL for viewing transaction details on the Flow EVM explorer, while Flow accounts continue using the legacy Cadence explorer URL.
Ref: Outblock/FRW#58
The text was updated successfully, but these errors were encountered: