Nimiq
Concepts

Web Client vs RPC

Compare the Nimiq Web Client and the RPC Client to choose the right approach for your application.

Nimiq offers two ways to interact with the blockchain: the Web Client and RPC. They differ in architecture, infrastructure requirements, and language support.

The Web Client is a light node — it joins the peer-to-peer network directly and syncs with other peers. RPC follows a client-server model: your application sends HTTP requests to a Nimiq node, which interacts with the network on your behalf.

Web Client

The Web Client is a JavaScript library compiled from Rust to WebAssembly. It runs in browsers and Node.js, connects directly to the blockchain network, and requires no server infrastructure.

It supports account queries, transaction creation and broadcasting, wallet management, and real-time event subscriptions. See the guides for what you can build with it.

RPC

RPC exposes a Nimiq node's full functionality over HTTP using the JSON-RPC specification. It works from any programming language that can send HTTP requests.

RPC provides everything the Web Client does, plus full node control: managing accounts, configuring node settings, retrieving detailed blockchain state, and managing validator operations.

Comparison

AspectWeb ClientRPC
ArchitecturePeer-to-peer, joins the network directlyClient-server, connects to your node
InfrastructureNone — runs in the browser or Node.jsRequires running a Nimiq node
LanguagesJavaScript / TypeScriptAny language with HTTP support
FunctionalityLight client operations: queries, transactions, eventsFull node control: all light client operations plus node management, validator operations, advanced queries
Use casesWallets, browser dApps, payment flows, mobile appsBlock explorers, analytics, server applications, validator management

When to use each

Choose Web Client when:

  • Building browser-based or mobile-friendly applications
  • You want zero infrastructure — no server to run or maintain
  • Working in JavaScript / TypeScript
  • Building decentralized applications where users connect directly

Choose RPC when:

  • Building server-side applications or backend services
  • You need full node control or validator management
  • Working in languages other than JavaScript
  • Building block explorers, analytics tools, or data pipelines

Start building

{ "Web Client icon": { "i-lucide-globe to": { "/web-client variant": "outline" } } }
Nimiq RPC
Validators

Further reading

Copyright © 2026