-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Support for eth_simulateV1 Method in Tron JSON-RPC #6199
Comments
+1, I am also interested in this feature |
Two questions about this proposal:
|
As you say, Of course on TRON you can implement a similar simulation via We will look into Thank you for your suggestion. |
Thanks so much |
How can we prevent users from abusing this feature? I assume there should be a fee associated with calling this API. If so, how is the fee calculated? |
Background
Currently, Ethereum provides the
eth_simulateV1
method, which allows developers to simulate transactions before broadcasting them. This is useful for estimating gas usage, detecting potential reverts, and debugging smart contract interactions. However, Tron Protocol does not currently support this method, which limits the ability of developers to perform pre-execution checks efficiently.Rationale
Why should this feature exist?
What are the use-cases?
Specification
The
eth_simulateV1
method should be implemented in the Tron JSON-RPC API, following Ethereum’s standard behavior. The method should:eth_call
.Scope Of Impact
The text was updated successfully, but these errors were encountered: