NimiqNimiq
  • Web Client
  • Hub
  • RPC
  • Mini Apps
  • Nimiq Utils
  • AI
  • Nodes & Validators
  • Network Upgrades
  • Protocol
  • Migration
  • Overview
  • Blockchain Explorers
    • ARPL CLI Tool
    • JavaScript Native
    • Raw Requests
    • TypeScript Client
    • All
      • getAccountByAddress
      • getAccounts
      • getActiveValidators
      • getBatchNumber
      • getBlockByHash
      • getBlockByNumber
      • getBlockNumber
      • getCurrentPenalizedSlots
      • getEpochNumber
      • getInherentsByBatchNumber
      • getInherentsByBlockNumber
      • getLatestBlock
      • getNetworkId
      • getPreviousPenalizedSlots
      • getSlotAt
      • getStakerByAddress
      • getStakersByValidatorAddress
      • getTransactionByHash
      • getTransactionHashesByAddress
      • getTransactionReferencesByAddress
      • getTransactionsByAddress
      • getTransactionsByBatchNumber
      • getTransactionsByBlockNumber
      • getValidatorByAddress
      • getValidators
      • subscribeForHeadBlock
      • subscribeForHeadBlockHash
      • subscribeForLogsByAddressesAndTypes
      • subscribeForValidatorElectionByAddress
    • ZKP Component
  • Open RPC Servers
  • RPC Node Setup
blockchain

Get network id

Returns the network ID.

getNetworkIdrpc method

Parameters

This method does not accept any parameters.

Response fields

This method does not return a structured result.

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026