-
Notifications
You must be signed in to change notification settings - Fork 4
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
api: Get all activity related to an account #88
Comments
Wallet needs to show activity on an account; optionally including paratime activity The closest thing in API right now is https://index.oasislabs.com/v1/consensus/transactions?sender= but:
|
We would need events as well. |
I would argue that largely, activity == events. This will include things not covered by txs, like end of debonding, or the payout of staking rewards at the end of an epoch. In spirit of our universal-search discussion, I suggest we keep it simple for now and let frontend make separate requests:
#246 is the first step towards adding events in consensus; it covers just the openAPI. The remaining work is (copied from #246 description for visibility):
|
events related addresses might be nice to have. currently we have separate tables for different kinds of events, each with dedicated columns, so maybe we could get by with a great big union. although I think we currently lose the ordering due to events being in different tables farther out idea: display non-transaction events among transactions. as a special non-transaction transaction/transactions per block. we do this in the rosetta gateway. and we'll possibly treating the consensus chain as the non-paratime paratime 😵💫 speaking from the explorer perspective, where a lot of existing explorers are focused on events. imo this does a better job of meeting users where they are 🤷 |
I like the idea of having a
I know we can extract the Edit**: Warren mentioned that this is more for runtime(evm) transactions |
Copying discussion from elsewhere:
|
This was implemented. |
Independent endpoints for each ParaTime /consensus
The text was updated successfully, but these errors were encountered: