Active Network id

The active network id is the id that the Dynamic SDK uses to identify the active network of a wallet account. For EVM wallets, it will be the same as the chain id (e.g: 1, 137, 56, etc). For other chains, it will an internal id used in Dynamic. To get a more complete network data, you can use the getActiveNetworkData function mentioned further down in this page.
import { getActiveNetworkId } from '@dynamic-labs-sdk/client';

const { networkId } = await getActiveNetworkId({ walletAccount });
console.log(networkId);

Active Network Data

The active Network Data is the data that the Dynamic SDK uses to identify the active network of a wallet account. The NetworkData object contains useful information about the network, such as the id, name, icon, rpc urls, currency data, etc. You can use the active network data create a PublicClient for EVM accounts or a Connection for Solana accounts.
import { getActiveNetworkData } from '@dynamic-labs-sdk/client';

const { networkData } = await getActiveNetworkData({ walletAccount });
console.log(activeNetworkData);