# What are RPC and RPC Aggregator?

RPC (Remote Procedure Call) is a protocol used for communication between a client and a server over a network. In the context of the web3 industry, RPC is used to allow communication between web applications and blockchain nodes.

When a user interacts with a Dapp, the Dapp uses the RPC service of the user's web3 wallet to communicate with the blockchain network. For example, if a user wants to view their account balance and transfer tokens, the Dapp will ask the user to connect the MetaMask and use the RPC endpoint in MetaMask to retrieve the user's account balance from the blockchain network and submit a transaction to transfer tokens on the user's behalf.

The RPC service is also used by developers to test and debug their applications during the development process. Developers can use the RPC service to simulate interactions with the blockchain network without incurring the cost of real transactions. RPC is a crucial infrastructure in the web3 industry, as it allows users and developers to interact with the blockchain network without running a node by themselves.

An aggregator is a software running locally to distribute RPC requests to multiple RPC endpoints. RPCHub aims to be the leading aggregator in the Web3 industry.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rpchub.io/instruction-to-rpchub/what-are-rpc-and-rpc-aggregator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
