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.
Verify the Chain ID of Arbitrum Sepolia
In this challenge, you'll retrieve the Arbitrum Sepolia chain ID using the ArbSys precompile.
Create a function called getChainId
that:
// This should return Arbitrum Sepolia's chain ID
getChainId()
Ready to test your solution?
Complete the exercise and submit to check your results.