-
Notifications
You must be signed in to change notification settings - Fork 673
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
Allow querying accounts touched within the block #2128
Comments
|
I was under a wrong impression previously. Well, it was a bug turning as a feature. I will need to implement a new RPC endpoint exposing a list of account IDs touched in a block. Draft API:
NOTE: The endpoint naming needs some bikeshedding. The response: {
"block_hash": "DYHRzRbxUR1ANPdCQcgQE9g5zyYQoDZ1k8BJEQ3hDSgW",
"changes": [
{
"account_id": "frol.near",
"type": "data_changes",
},
{
"account_id": "frol.near",
"type": "account_changes",
},
{
"account_id": "user.near",
"type": "access_key_changes",
},
]
} |
) Extended RPC API to query all accounts that were touched within the given block. #2128 ## Test plan Extended the `pytest/tests/sanity/rpc_state_changes.py` test-suite.
The follow-up documentation request is near/docs#267 |
We should extend RPC API to query all accounts that were touched within the given block.
The text was updated successfully, but these errors were encountered: