This page is being upgraded for a great mobile experience.
Please use a desktop or laptop for now.
Switch to a larger device to access all features.
Retrieve the current Arbitrum block number
In this challenge, you'll learn how to access Arbitrum's current block number using the ArbSys precompile.
Create a function called getCurrentBlockNumber
that:
// This should return the current Arbitrum block number
getCurrentBlockNumber()
Ready to test your solution?
Complete the exercise and submit to check your results.