# Ethereum

### 介紹

Ethereum Private Mempool推送Ethereum的隱私交易流數據。數據流基於SSE協議構建，數據流中的交易統一經脫敏處理，僅披露經授權允許披露的交易數據。

Private Mempool可應用於Backrun、跟單、狙擊等多種場景。

為避免由於網絡波動導致的數據斷流，建議建立重連機制。

### RPC端點

{% hint style="info" %}
請將訂閱bundle的域名與發送bundle的域名保持一致。如訂閱<https://jp-ethscutum.blockrazor.xyz/stream，則將bundle發送至https://jp-ethscutum.blockrazor.xyz。不同地區推送的隱私數據流不同，建議同時訂閱2個端點>
{% endhint %}

<table><thead><tr><th width="107.42578125">地區</th><th>端點</th></tr></thead><tbody><tr><td>東京</td><td>https://jp-ethscutum.blockrazor.xyz/stream</td></tr><tr><td>紐約</td><td>https://us-ethscutum.blockrazor.xyz/stream</td></tr></tbody></table>

### Authentication

{% hint style="info" %}
為保護隱私交易，Ethereum Private Mempool採用准入制，如需訂閱請於我們[聯繫](https://discord.com/invite/qqJuwRb8Nh)。
{% endhint %}

```json
curl -X GET \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer <token>" \
    --data '{}' \
    https://eth.blockrazor.xyz/stream
```

```
https://eth.blockrazor.xyz/stream?token=<token>
```

示例中的\<token>需在註冊BlockRazor後獲取，步驟如下：

1. 前往<https://www.blockrazor.io>，在網頁右上角點擊【註冊】，系統跳轉至註冊頁
2. 在註冊頁輸入郵箱和密碼，點擊【註冊】，系統會向郵箱發送賬戶激活郵件
3. 前往郵箱，查看賬戶激活郵件，點擊賬戶激活鏈接
4. 成賬戶激活，前往登錄，查看賬戶信息，複製auth token

### 數據流結構

```json
{
    "result": [
        {
            "chainId": "0x1",
            "to": "0x6215589d293fdf52886484f46f0d6a11c76b4a7e",
            "value": "0x4fefa17b724000",
            "data": "0x",
            "nonce": "0x10",
            "type": "0x2",
            "hash": "0x5f08dd372fce1a44dda27bed60ca036acb4979fad6ca37b9c388e351a870fe4c",
            "from": "0xcb1588f3f7e92a1278c68a6aed4bdcbc68534b29"
        },
        {
            "chainId": "0x1",
            "to": "0x8765589d293fdf52886484f46f0d6a11c76b4a7e",
            "value": "0x0",
            "data": "0x07ed2379000000000000000000000000990636ecb3ff04d33d92e970d3d588bf5cd8d086000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000005c697fee285b513711a816018dbb34dc0cfc4875000000000000000000000000990636ecb3ff04d33d92e970d3d588bf5cd8d0860000000000000000000000007718bc9e46745e94602c43a4a4903488647c4839000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000001771036abd0ec4309a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000003e90000000000000000000003cb00039d00033a00032000030600030000004e00a0744c8c09dac17f958d2ee523a2206206994597c13d831ec790cbe4bdd538d6e9b379bff5fe72c3d67a521de50000000000000000000000000000000000000000000000000000000000249f0000a0c9e75c4800000000000000000000000000000000bb803e8000000000000000000000000000000000000000000000000000027a00022300a007e5c0d20000000000000000000000000000000000000000000000000001ff0001b05120bbcb91440523216e2b87052a99f69c604a7b6e00dac17f958d2ee523a2206206994597c13d831ec700847fc9d4ad000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bc35d29000000000000000000000000990636ecb3ff04d33d92e970d3d588bf5cd8d0860000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000de6e2040c77f52ee63c1e501e0554a476a092703abdb3ef35c80e0d76d32939fa0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a0000000000000000000000000000000000000000000000000029b43aa6973f98048c95033000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000064000001000000206b4be0b94041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00020d6bdbf78c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a00000000000000000000000000000000000000000000001771036abd0ec4309a0ee63c1e58061192eb6ca9fe34a3ccc5f4cd4bf6fefb77a037fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2111111125421ca6dc452d289314280a0f8842a650020d6bdbf785c697fee285b513711a816018dbb34dc0cfc4875111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000b59f19d6",
            "nonce": "0x11",
            "type": "0x2",
            "hash": "0x3456dd372fce1a44dda27bed60ca036acb4979fad6ca37b9c388e351a870fe4c",
            "from": "0xcb1588f3f7e92a1278c68a6aed4bdcbc68534b29"
        }
    ]
}
```


---

# 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.blockrazor.io/tc/streams/mempool/private-mempool/ethereum.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.
