Question · Blockchain and Web3 course · Module 4: ethers.js & viem

JsonRpcProvider

What is JsonRpcProvider used for in ethers.js?

Answer options

  • For connecting to a blockchain node via JSON-RPC
  • For converting JSON to RPC format
  • For parsing API responses
  • For creating JSON wallets

You can check the correct answer by solving this task in the CodeWorlds game.