[General] query the status of transactions or blocks #698
-
EnvironmentMainnet L2 block numberNo response Provide a brief description of the functionality you're trying to implement and the issue you are running into.Which API should be used to query the status of transactions or blocks Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To query the status of transactions or blocks on ZKsync, you can use the ZKsync Era Block Explorer API. This API allows developers to access comprehensive data about transactions, blocks, batches, wallets, tokens, and smart contracts on the ZKsync Era network. You can find more details and how to use the API in the Block Explorer API documentation. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
You can use use the regular eth_getTransactionReceipt for transactions and eth_getBlockByNumber. Also the ZKsync-specific ones, |
Beta Was this translation helpful? Give feedback.
You can use use the regular eth_getTransactionReceipt for transactions and eth_getBlockByNumber.
Also the ZKsync-specific ones,
zks_getTransactionDetails
andzks_getBlockDetails