Skip to content
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

#952 | Add "rank" and "transactions count" columns to /accounts section #953

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Viterbo
Copy link
Collaborator

@Viterbo Viterbo commented Jan 30, 2025

Fixes #952

Description

This PR fixes two things:
1 - It adds the rank column with a calculated value based on the pagination parameters.
2 - It adds the txn count column, fetching the data from the new endpoint created in this PR: https://github.com/telosnetwork/teloscan-indexer/pull/315.

The transaction count fetching strategy uses a cache to quickly retrieve the count for each address.

Since it relies on the new endpoint to retrieve the transaction count, it requires indexer version 1.2.11 or higher.

Test scenarios

https://deploy-preview-953--dev-mainnet-teloscan.netlify.app/accounts

@Viterbo Viterbo self-assigned this Jan 30, 2025
Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for zkevm-testnet ready!

Name Link
🔨 Latest commit 26b7e53
🔍 Latest deploy log https://app.netlify.com/sites/zkevm-testnet/deploys/679bba064f183500089e71f1
😎 Deploy Preview https://deploy-preview-953--zkevm-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for testnet-teloscan ready!

Name Link
🔨 Latest commit 26b7e53
🔍 Latest deploy log https://app.netlify.com/sites/testnet-teloscan/deploys/679bba06fa9b070008b63290
😎 Deploy Preview https://deploy-preview-953--testnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for teloscan-stage ready!

Name Link
🔨 Latest commit 26b7e53
🔍 Latest deploy log https://app.netlify.com/sites/teloscan-stage/deploys/679bba06c11414000867695b
😎 Deploy Preview https://deploy-preview-953--teloscan-stage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for dev-mainnet-teloscan ready!

Name Link
🔨 Latest commit 26b7e53
🔍 Latest deploy log https://app.netlify.com/sites/dev-mainnet-teloscan/deploys/679bba060eb4b000088284b7
😎 Deploy Preview https://deploy-preview-953--dev-mainnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant