For this, we just need to build the router, the resources, parse the JSON-RPC request, and execute the call from the router as follows: ...