Skip to main content
The isBase utility is designed to verify if the chain id is a valid Base or Base Sepolia chain id.

Usage

Returns

boolean - Returns true if the chain id is Base or Base Sepolia, otherwise false.

Parameters

IsBaseOptions - See IsBaseOptions for more details.