# The Relayer Network

Shielding assets protects your onchain data, but what about network level metadata? Veilon addresses this issue through its decentralized relayer network, which serves as a privacy layer to protect your IP address, timing, and origin data.

### <mark style="color:yellow;">Role:</mark>

The relayer network enhances privacy by:

* Broadcasting transactions on behalf of users.
* Obfuscating IP addresses, geolocation, and transaction submission patterns.
* Decoupling the sender from their submitted transactions.

### <mark style="color:yellow;">How It Works:</mark>

* Users create transactions locally within the Veilon wallet.
* These transactions are sent as encrypted payloads to relayers via secure channels.
* Relayers broadcast the transaction to the blockchain, receiving a small fee or protocol incentive for their service.

### <mark style="color:yellow;">Real World Analogy:</mark>

Think of the relayer network as a trusted courier delivering your message without revealing your address even to the recipient. It ensures the privacy and security of your transaction metadata.

```javascript
const payload = {
  proof,
  publicSignals,
  newCommitment,
  nullifierHash,
  chainId: 1, // Ethereum Mainnet
};

const tx = await axios.post('https://relayer.veilon.network/submit', payload);
console.log('Relayer tx hash:', tx.data.txHash);
```


---

# 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.veilon.io/platform-architecture/the-relayer-network.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.
