Utilities
isBase
Verify if a chain ID is a valid Base or Base Sepolia chain ID
The isBase
utility is designed to verify if the chain ID is a valid Base or Base Sepolia chain ID.
Parameters
The chain ID to verify. For example, 8453 for Base Mainnet or 84532 for Base Sepolia.
Returns
Returns true
if the chain ID is Base or Base Sepolia, otherwise false
.