This Gist demonstrates basic interactions with the Ethereum blockchain using the Web3.js library. You can:
- Connect to the Ethereum mainnet via Infura.
- Fetch the latest block number.
- Check the ETH balance of any Ethereum address.
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com