pub fn chainid<E: EvmApi>( env: FunctionEnvMut<'_, WasmEnv<E>>, ) -> Result<u64, StylusError>
Get the chain ID.