aeternity / aescan

Block Explorer and Analytics Platform
ISC License
6 stars 3 forks source link

Filter transactions table by date #615

Open michele-franchi opened 9 months ago

michele-franchi commented 9 months ago

Please describe the problem that your request should resolve.

Describe the solution you'd like

The user should be able to filter transactions using a date range picker. MDW tracking https://github.com/aeternity/ae_mdw/issues/1756

Is it already possible to achieve the same outcome in any other way? If so, how?

Additional context

michele-franchi commented 9 months ago

This is currently not available on the mdw as it's currently possible to filter transactions by keyblock and txi.

sborrazas commented 4 months ago

Can you link me to the mdw issue referring to this task? If it's the /v3/txs endpoint that you're using you may filter by scope: https://mainnet.aeternity.io/mdw/v3/transactions?contract=ct_9L9u3v4wWED8Zn7wGRRGv1dNy8g2F2fH9PUegDzSLS85Tu564&scope=gen:100-1000000

janmichek commented 4 months ago

Can you link me to the mdw issue referring to this task? If it's the /v3/txs endpoint that you're using you may filter by scope: https://mainnet.aeternity.io/mdw/v3/transactions?contract=ct_9L9u3v4wWED8Zn7wGRRGv1dNy8g2F2fH9PUegDzSLS85Tu564&scope=gen:100-1000000

This is for the main listing of transactions. There is the option to filter by scope. The idea behind this is to provide user the date range picker. In that case, we would need to do the block height-to-date calculation. So our requirement to you is that you could extend the endpoint to accept the timestamp in the same fashion as statistics endpoints

janmichek commented 4 months ago

Can you link me to the mdw issue referring to this task? If it's the /v3/txs endpoint that you're using you may filter by scope: https://mainnet.aeternity.io/mdw/v3/transactions?contract=ct_9L9u3v4wWED8Zn7wGRRGv1dNy8g2F2fH9PUegDzSLS85Tu564&scope=gen:100-1000000

Set up an issue for you https://github.com/aeternity/ae_mdw/issues/1756

janmichek commented 3 weeks ago

Implemented by MDW, ready to grab