telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 24 forks source link

On the account page, the ability to filter tokens #395

Closed poplexity closed 1 year ago

poplexity commented 2 years ago

The ability to generate a URL to an account's balance of a specific token or tokens. Right now you can navigate directly to the tokens page, but this request is to also be able to filter by code/contract account or symbol.

https://explorer.telos.net/account/foflexitytls?tab=tokens

Would become for TLOS:

https://explorer.telos.net/account/foflexitytls?tab=tokens&code=eosio.token&symbol=TLOS https://explorer.telos.net/account/foflexitytls?tab=tokens&code=eosio.token,proxibotstkn&symbol=TLOS,ROBO

These values are treated as and conditions, meaning they all must match. URL could specify code and/or symbol and either one could be comma separated values in which case the values are or conditions, might need to review how this would work in practice with multiple values.

karynemayer commented 1 year ago

@poplexity what would be the design of this page? What is the content that we should show besides the balance?