-
Notifications
You must be signed in to change notification settings - Fork 16
zkSync Era JSON-RPC methods #18
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit bb6ef73.
Resolves #19 |
* Merge branch 'zkprovider_impl' of github.com:lambdaclass/zksync-web3-rs into support_transfers * Support EIP1559 transfers on L2
mationorato
approved these changes
Jun 1, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
zkSync Era’s JSON-RPC methods
The
ZKSProvider
traitzkSync Era fully supports the standard Ethereum JSON-RPC API and adds some L2-specific features.
zkSync Era The
ZKSProvider
trait defines the methods that can be used to interact with zkSync Era's JSON-RPC API (the previously L2-specific features mentioned above).Status (for full compatibility)
debug_traceBlockByHash
debug_traceBlockByNumber
debug_traceCall
debug_traceTransaction
callTracer
to return a debug trace of a specific transaction given by its transaction hash.zks_estimateFee
zks_estimateGasL1ToL2
zks_getAllAccountBalances
zks_getBlockDetails
committed
: The batch is closed and the state transition it creates exists on layer 1.proven
: The batch proof has been created, submitted, and accepted on layer 1.executed
: The batch state transition has been executed on L1; meaning the root state has been updated.zks_getBridgeContracts
zks_getBytecodeByHash
zks_getConfirmedTokens
zks_getL1BatchBlockRange
zks_getL1BatchDetails
zks_getL2ToL1LogProof
zks_getL2ToL1MsgProof
zks_getMainContract
zks_getRawBlockTransactions
zks_getTestnetPaymaster
zks_getTokenPrice
zks_getTransactionDetails
zks_L1BatchNumber
zks_L1ChainId