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