A fully typed Nimiq RPC client for TypeScript.
npm install nimiq-rpc-client-ts
The development network is currently in a phase where we request developers to set up their own nodes.
It is structured the same way as the Rust RPC Client
// getClient() defined before
getClient().blockchain.getBlockNumber()
getClient().network.getPeerCount()
// use auto-complete to see all available methods
Check the tests for examples on how to use the client here.