---
description: Typescript Interface Network Data Model Definition
---

# Interface Definition

{% code fullWidth="false" %}
```typescript
interface Network {
    id: number
    name: string
    network: string
    status: 'active' | 'inactive' | 'null'
    infoUrl: string
    docsUrl: string
    eipUrl: string
    nativeCurrency: {
        name: string
        symbol: string
        uSymbol: string
        decimals: number
    }
    rpcNodes: {
        [key: string]: {
            rpcNode: string
            type: 'authenticated' | 'public' | 'local' | 'null'
            http: readonly string[]
            wss?: readonly string[]
            provider: {
                name: string
                provider: string
                websiteUrl: string
                frontRunningProtection: boolean
                privacyProtection: 'privacy' | 'partial privacy' | 'no privacy' | 'no info' | 'null'
                privacyPolicy: readonly string[]
                privacyStatement?: string
                socialPlatforms?: {
                    twitter?: string
                    linkedIn?: string
                    youtube?: string
                }
            }
        }
        public: {
            rpcNode: string
            type: EndpointType
            http: readonly string[]
            wss?: readonly string[]
            provider: {
                name: string
                provider: string
                websiteUrl: string
                frontRunningProtection: boolean
                privacyProtection: 'privacy' | 'partial privacy' | 'no privacy' | 'no info' | 'null'
                privacyPolicy: readonly string[]
                privacyStatement?: string
                socialPlatforms?: {
                    twitter?: string
                    linkedIn?: string
                    youtube?: string
                }
            }
        }
        default: {
            rpcNode: string
            type: EndpointType
            http: readonly string[]
            wss?: readonly string[]
            provider: {
                name: string
                provider: string
                websiteUrl: string
                frontRunningProtection: boolean
                privacyProtection: 'privacy' | 'partial privacy' | 'no privacy' | 'no info' | 'null'
                privacyPolicy: readonly string[]
                privacyStatement?: string
                socialPlatforms?: {
                    twitter?: string
                    linkedIn?: string
                    youtube?: string
                }
            }
        }
    }
    blockExplorers?: {
        [key: string]: {
            name: string
            blockExplorer: string
            type: 'blockscout' | 'etherscan' | 'independent' | 'subscan' | 'null'
            standard: 'eip3091' | 'none' | 'null'
            browserUrl: string
            apiUrl?: string
            docsUrl?: string
        }
        default: {
            name: string
            blockExplorer: string
            type: 'blockscout' | 'etherscan' | 'independent' | 'subscan' | 'null'
            standard: 'eip3091' | 'none' | 'null'
            browserUrl: string
            apiUrl?: string
            docsUrl?: string
        }
    }
    contracts?: {
        [key: 'ensRegistry' | 'ensUniversalResolver' | 'multicall3']: {
            name: string
            contract: 'ensRegistry' | 'ensUniversalResolver' | 'multicall3'
            address: string
            deployBlock: number
            deployTxHash: string
        }
    }
    testnet: boolean
    mainnetId?: number
}
```
{% endcode %}
