-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Eth JSON RPC: Support cancelation #4225
Comments
this would be a change to the standard ethereum JSON-RPC spec, goes a bit beyond a feature request in metamask what is your primary usecase and what sort of calls are you interested in canceling? |
If you are referring to ethereum/wiki/JSON-RPC by "standard ethereum JSON-RPC spec" then I don't see how this request would result in change of that spec, can you clarify?
Exposing |
For reference this is was just merged in web3.js |
This would be something to add to the provider API, so now part of EIP-1193. |
The simpler path to this is probably to add an RPC method for requesting the cancellation of a pending transaction, rather than modifying the provider interface. Since a provider change is huge in scope and either path would require a standard (EIP or ethereum-magicians post) I'm closing this until a suitable proposal is drafted. |
Would be nice if sencAsync returned something like
XMLHttpRequest
object so once can abort the request (like XMLHttpRequest.abort()).I guess this would be blocked until https://github.com/kumavis/json-rpc-engine/issues/4 is fixed
The text was updated successfully, but these errors were encountered: