# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ethgas.com/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

---

# A Vision for the Ecosystem

### Ethereum, at the speed of thought <a href="#ethereum-at-the-speed-of-thought" id="ethereum-at-the-speed-of-thought"></a>

Every 12-second wait on Ethereum has a cost: a fill that moves before it lands, capital parked while a block clears, a builder who left for a faster chain. Ethereum has been the most secure settlement layer in the world and one of the slowest. That gap is not standing still. Every cycle it stays open, more liquidity, more volume and more builders settle for a faster chain or another L2, and Ethereum's capital fragments a little further. Security alone will not pull it back; speed will. Realtime Ethereum shatters that trade-off. Validators commit to including and ordering transactions ahead of the block, so a user gets a binding answer in roughly 200 milliseconds, with a path to sub-slot confirmations near 30 ms. Nothing about Ethereum's security changes. Everything about what you can build on it does.

This is the biggest upgrade to the Ethereum experience since the Merge. Every group below wins from the same shift: the gap between intent and settlement collapses, and with it risk, idle capital and hesitation.

### Traders, wallets and everyday people: certainty, conviction, PNL <a href="#traders-wallets-and-everyday-people-certainty-conviction-pnl" id="traders-wallets-and-everyday-people-certainty-conviction-pnl"></a>

A transaction that confirms in 200 ms removes the guesswork. Traders know their fill before the market moves, so they size with conviction and keep PNL that slippage and failed transactions currently eat. Wallets show a confirmed balance the instant you tap, and paying on Ethereum feels like paying with a card. AI agents get the same gift: observe, decide and settle in a single loop at machine speed, with a confirmed state at every step.&#x20;

### Protocols and dApps: velocity is revenue <a href="#protocols-and-dapps-velocity-is-revenue" id="protocols-and-dapps-velocity-is-revenue"></a>

Money that settles 60 times faster can be redeployed 60 times more often, and every protocol that earns a fee per turn earns dramatically more. AMMs rebalance against the market every 200 ms, so spreads tighten, volume per unit of liquidity surges and LP yields follow. Lending protocols see prices and liquidations within milliseconds, so they can run thinner buffers, higher LTVs and far fewer bad-debt events.

PropAMMs, which quote from a proprietary pricing engine rather than a fixed curve, finally make sense on L1: updating quotes every block was uneconomic at 12 seconds and is routine at 200 ms.

Perps and options protocols can mark, margin and liquidate on-chain at exchange-like cadence, closing the gap that pushed derivatives volume off Ethereum.

### MEV: the toll booth gets torn down <a href="#mev-the-toll-booth-gets-torn-down" id="mev-the-toll-booth-gets-torn-down"></a>

Most extracted MEV is arbitrage against stale AMM prices, the loss-versus-rebalancing (LVR) that accumulates between blocks. The standard model (Milionis, Moallemi, Roughgarden and Zhang) shows that with trading fees, arbitrage profit per unit of time scales with the square root of block time.

Cutting 12 seconds to 200 ms is a 60x reduction in block time. Arbitrage-driven MEV should therefore fall by about √60 ≈ 7.7x per unit of time. Sandwich attacks also shrink because the window to insert around a user's order collapses. That is a theoretical bound, not a measurement; the realised cut depends on network latency and builder behaviour.

### Validators: more revenue from the same stake <a href="#validators-more-revenue-from-the-same-stake" id="validators-more-revenue-from-the-same-stake"></a>

Preconfirmations turn a validator's slot into a product sold continuously, not once every 12 seconds. Validators earn on inclusion and execution commitments and on blockspace that today goes unsold or underpriced, stacked on top of consensus rewards and MEV-Boost payments. The most latency-sensitive flow in crypto, from market makers, institutions and agents, pays a premium for certainty, and validators are the ones selling it.

The result is higher yield per validator, and a reason for staked ETH to grow rather than chase returns elsewhere. The people securing Ethereum finally get paid for how fast it is, not only for how safe it is.

### The exchange lesson: latency is revenue <a href="#the-exchange-lesson-latency-is-revenue" id="the-exchange-lesson-latency-is-revenue"></a>

Every major exchange learned the same lesson: cut latency and volume explodes. The [NYSE took order execution from about 350 ms in 2007 to 5 ms in 2009](https://www.thetradenews.com/nyse-cuts-order-latency-to-five-milliseconds/), a 70x cut, and the electronic era that followed brought tighter spreads, more participants, more trades per second and more fee revenue, even as the fee per trade fell. Speed did not shrink the business; it multiplied it. Realtime Ethereum is a 60x cut of the same kind.

Ethereum's revenue is gas. When settlement drops from 12 seconds to 200 ms, more strategies become viable, more capital turns over per day, and more transactions clear per block. Total gas expenditure should rise with activity, exactly as exchange fees rose with speed, and every unit of it is burned or paid to validators.

### Capital is coming home <a href="#why-glamsterdam-and-why-capital-comes-home" id="why-glamsterdam-and-why-capital-comes-home"></a>

Speed alone would congest. Launching Realtime Ethereum alongside Glamsterdam pairs 200 ms confirmations with more than 3x the capacity per block, so faster blocks arrive with the room to fill them. Timing the two together is the difference between a faster queue and a bigger, faster road.

**The second-order effect** is capital flooding back to Ethereum. Liquidity left for faster chains and L2s because speed was the one thing mainnet could not offer. With that gap closed, the deepest liquidity, the strongest security and the fastest execution sit in one place, and fragmented capital has every reason to come home. For institutions, T+2 becomes T+0 on-chain, and the balance sheets that left for faster venues have economic incentives to return.

**The third-order effects** follow from that gravity. Deeper liquidity makes ETH a stronger reserve and collateral asset, higher gas burn tightens supply as activity grows, and builders launch where the users and the money are, so the next generation of applications is born on L1.

Ethereum was built to be the world's settlement layer. Realtime Ethereum lets it settle at the speed the world now runs, and you no longer have to leave Ethereum to be fast.

{% embed url="<https://x.com/ETHGasOfficial/status/2016519215948484963>" %}


# Which Blocks are Realtime?

### Realtime Markets API

{% tabs %}
{% tab title="Mainnet" %}
<https://prod-mainnet.ethgas.com/api/v1/p/realtime/markets>
{% endtab %}

{% tab title="Hoodi" %}
<https://prod-hoodi.ethgas.com/api/v1/p/realtime/markets>
{% endtab %}
{% endtabs %}

API Documentation: [https://developers.ethgas.com/#realtime-markets](https://developers.ethgas.com/?http#realtime-markets)

ETHGas Realtime slots only occur when registered validators propose blocks. This means that not all slots are available for faster blocks. The Realtime Markets API can be used to return an array of all upcoming Realtime slots in the current and next epoch.

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FhM4mR81drrC8RZ6t6HhV%2Fimage.png?alt=media&amp;token=9c2bfa50-0fc7-4dab-9d67-cac15e48a4a2" alt=""><figcaption></figcaption></figure>

Sub-slots are sequenced with a target timing of 200ms and require a 3-4 second window at the start of the block before the fast sequencing starts. This is due to the time it takes for the previous block's state to update/propagate.&#x20;

Where there are two consecutive realtime (12-sec) blocks, the 200ms sub-slot sequencing happens continuously between the two blocks for a seamless experience.&#x20;

### Example Responses

{% code title="Example response with Realtime slots in the lookahead" overflow="wrap" %}

```json
{
    "success": true,
    "data": {
        "slots": [
            14000000,
            14000001
        ]
    }
}
```

{% endcode %}

{% code title="Example response without Realtime slots in the lookahead" overflow="wrap" %}

```json
{
    "success": true,
    "data": {
        "slots": []
    }
}
```

{% endcode %}


# Where to Send Transactions

### ETHGas Realtime RPC

{% hint style="success" %}
FAQ: [How do you set the gas fee for a Realtime block?](https://docs.ethgas.com/overview/realtime-faqs#how-do-you-set-the-gas-fee-for-a-realtime-block)
{% endhint %}

<table><thead><tr><th width="113.0078125">Network</th><th>URL</th><th>Websocket</th></tr></thead><tbody><tr><td>Mainnet</td><td><a href="https://realtime-rpc.ethgas.com">https://realtime-rpc.ethgas.com</a></td><td><a href="wss://realtime-rpc.ethgas.com/ws">wss://realtime-rpc.ethgas.com/ws</a></td></tr><tr><td>Hoodi</td><td><a href="https://realtime-rpc.ethgas.com/hoodi">https://realtime-rpc.ethgas.com/hoodi</a></td><td><a href="wss://realtime-rpc.ethgas.com/hoodi/ws">wss://realtime-rpc.ethgas.com/hoodi/ws</a></td></tr></tbody></table>

All modifications done to the existing Ethereum JSON RPC methods are confined to overloading the existing `pending` tag except a few JSON RPC methods which become inherently aware of the preconfirmation state. Originally, this tag was designed to return block data being processed by the node's internal miner It's fitting that we now use it for a similar purpose: exposing blocks in their preconfirmation stage. When queried with the pending tag, the endpoint uses the preconfirmation state to construct the response. The response might include not only transactions but also block metadata like state root and receipt root.&#x20;

The tag is currently in a soft-deprecated state due to inconsistent implementations across clients, particularly after The Merge. However, it's worth noting that it's still actively used for certain endpoints, particularly `eth_getTransactionCount` where it serves the important function of returning the next available nonce for an account (including transactions in the mempool). This presents an opportunity: the tag is well-defined enough to be supported by client libraries, yet loosely defined enough to allow for our preconfirmation use case. While there's a possibility of the tag being removed in the future (see [EIP discussions](https://github.com/ethereum/execution-apis/issues/495)), the design could adapt by introducing a realtime block specific tag if needed.&#x20;

We repurpose the pending tag in the following RPC calls to enable consuming preconfirmed state:&#x20;

* `eth_call`
* `eth_estimateGas`
* `eth_getBlockByNumber`
* `eth_getBalance`
* `eth_getTransactionCount`
* `eth_subscribe`

{% hint style="info" %}
**Not all RPC methods explicitly require a "pending" tag to tap into the real time state's awareness.**&#x20;
{% endhint %}

The following RPC methods implicitly incorporate realtime block awareness like that whenever possible:

* `eth_getTransactionReceipt`
* `eth_getTransactionByHash`

***

### **eth\_getTransactionReceipt**

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_getTransactionReceipt",
  "params": ["0x..."], // Transaction hash
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "transactionHash": "0x...",
  "blockHash": "0x0",  // Empty hash as placeholder
  "blockNumber": "0x...",       // Current pending block number
  "transactionIndex": "0x0",
  "from": "0x...",
  "to": "0x...",
  "gasUsed": "0x...",
  "status": "0x1",
  "cumulativeGasUsed": "0x...",
  "effectiveGasPrice": "0x...",
  "contractAddress": "0x...",   // For contract creations
  "logs": [],
  "logsBloom": "0x..."
}
```

{% endtab %}
{% endtabs %}

When queried, this endpoint first checks the preconfirmation state for the requested transaction hash before falling back to the standard chain lookup. Some fields in the response cannot be final at the preconfirmation stage and require placeholder values:&#x20;

* `blockHash`: Uses empty hash as placeholder
* `blockNumber`: Can be set to the current block number being processed

***

### **eth\_getTransactionByHash**

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_getTransactionByHash",
  "params": ["0x..."], // Transaction hash of the potentially pre-confirmed transaction
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "id": 1,
  "result": {
    "blockHash": "0x...", 
    "blockNumber": "0x...",
    "hash": "0x...",
    "transactionIndex": "0x0",
    "type": "0x2",
    "nonce": "0x...",
    "from": "0x...",
    "to": "0x...",
    "gas": "0x...",
    "value": "0x...",
    "gasPrice": "0x...",
    "chainId": "0x..."
  },
  "jsonrpc": "2.0"
}
```

{% endtab %}
{% endtabs %}

When queried, this endpoint first checks the preconfirmation state for the requested transaction hash before falling back to the standard chain state lookup. Some fields in the response cannot be final at the preconfirmation stage and require placeholder values:&#x20;

* `blockHash`: Uses the block hash of the pending blocks at the time the transaction was preconfirmed
* `blockNumber`: Can be set to the curent block number being processed

***

### **eth\_getBlockByNumber**

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_getBlockByNumber",
  "params": ["pending", false],  // Second parameter indicates full transaction objects (true) or only hashes (false)
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "hash": "0x0",  // Empty hash as placeholder
  "parentHash": "0x...",
  "stateRoot": "0x...",
  "transactionsRoot": "0x...",
  "receiptsRoot": "0x...",
  "number": "0x...",  // Current pending block number
  "gasUsed": "0x...",
  "gasLimit": "0x...",
  "timestamp": "0x...",
  "extraData": "0x...",
  "mixHash": "0x...",
  "nonce": "0x...", // // Used to signal realtime block index
  "transactions": []  // Array of transaction hashes or full transaction objects
}
```

{% endtab %}
{% endtabs %}

The endpoing implements an append-only pattern - multiple queries during the same block's preconfirmation phase will show an expanding list of transactions as new realtime blocks are processed. Each query reflects the current state of all preconfirmed transactions at that moment.&#x20;

***

### **eth\_getBalance**

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_getBalance",
  "params": ["0x...", "pending"],  // Account address and block parameter
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
"0x..." // Balance in wei    
```

{% endtab %}
{% endtabs %}

When queried with the `pending` tag, the endpoint uses the preconfirmation state to return the account balance. If the requested account appears in the AccountMetadata of a received realtime block with a non-null balance field, the RPC provider can directly return this value without needing toa ccess the full state. The response reflects all changes from preconfirmed transactions that affect the requested account's balance.&#x20;

***

### **eth\_call**

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_call",
  "params": [{"to": "0x...", "data": "0x..."}, "pending"],  // Transaction call object and block parameter
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
"0x..." // Return data from the call    
```

{% endtab %}
{% endtabs %}

When queried with the `pending` tag, the endpoint uses the preconfirmation state to return the call result. For this endpoint to work, the preconfirmation stream needs to include state differences for both accounts and storage after each realtime block.&#x20;

Similar to current override functionality in `eth_call` where EVM transitions are executed on top of modified state, this implementation executes the call on top of the preconfirmation state changes.&#x20;

***

### eth\_estimateGas

Generates and returns an estimate of how much gas is necessary to allow the transaction to complete considering the latest pre-confirmed state.&#x20;

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "method": "eth_estimateGas",
  "params": [{"from":"0x...","to":"0x...","value":"0x..."}, "pending"],
  "id": 1
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "result": "0x..." // The estimated amount of gas required for the transaction, as a hexadecimal string.
}
```

{% endtab %}
{% endtabs %}

***

### eth\_getTransactionCount

{% tabs %}
{% tab title="Request" %}

```json
{
  "method": "eth_getTransactionCount",
  "params": ["0x...", "pending"],// Account address and block parameter
  "id": 1,
  "jsonrpc": "2.0"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "result": "0x..."// Nonce value as a hex string
}
```

{% endtab %}
{% endtabs %}

When queried with the `pending` tag, the endpoint returns the transaction count (nonce) of the account from the preconfirmation state. If the requested account appears in the AccountMetadata of a received realtime block, the RPC provider can directly use the nonce field without additional state access.&#x20;

***

### eth\_subscribe - newFlashblocks

Subscribe to receive notifications each time a new flashblock is processed.

#### Description

Fires a notification with the current pending block state whenever a new flashblock arrives. Each flashblock represents an incremental update to the pending block, so multiple notifications may be emitted for the same block height as new flashblocks are processed.

#### Parameters

| Position | Name              | Type     | Description                |
| -------- | ----------------- | -------- | -------------------------- |
| 0        | Subscription type | `string` | Must be `"newFlashblocks"` |

#### Returns

A unique identifier for the subscription, returned as a 32-byte hex string.

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": ["newFlashblocks"]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x9c7c3f3c3c63b1b89ac0c1e0b0d3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8090a1b"
}
```

{% endtab %}
{% endtabs %}

***

### eth\_subscribe - pendingLogs

Subscribe to receive logs from flashblocks pending state that match specified filter criteria.

#### Description

Returns logs from the current pending flashblock state. Unlike the standard `logs` subscription which only includes logs from confirmed blocks, this subscription provides logs from preconfirmed transactions in flashblocks, giving users earlier visibility into contract events.

#### Parameters

| Position | Name              | Type                | Description                                 |
| -------- | ----------------- | ------------------- | ------------------------------------------- |
| 0        | Subscription type | `string`            | Must be `"pendingLogs"`                     |
| 1        | Filter            | `object` (optional) | Log filter criteria (same as `eth_getLogs`) |

**Filter Object**

| Field     | Type                              | Description                                                         |
| --------- | --------------------------------- | ------------------------------------------------------------------- |
| `address` | `string` or `string[]` (optional) | Contract address or array of addresses to filter                    |
| `topics`  | `array` (optional)                | Array of topic filters (32-byte hex strings or arrays for OR logic) |

If no filter is provided, all logs from pending flashblocks will be returned.

#### Returns

A unique identifier for the subscription, returned as a 32-byte hex string.

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": [
    "pendingLogs",
    {
      "address": "0x1234567890123456789012345678901234567890",
      "topics": [
        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
      ]
    }
  ]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x9c7c3f3c3c63b1b89ac0c1e0b0d3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8090a1b"
}
```

{% endtab %}
{% endtabs %}

***

### eth\_subscribe - newFlashblockTransactions

Subscribe to receive preconfirmed transasctions

#### Description

Returns transactions from flashblocks that have been included by the realtime block builder and are effectively preconfirmed.

#### Parameters

<table><thead><tr><th width="103.55078125">Position</th><th width="175.20703125">Name</th><th width="177.5859375">Type</th><th>Description</th></tr></thead><tbody><tr><td>0</td><td>Subscription type</td><td><code>string</code></td><td>Must be <code>"newFlashblockTransactions"</code></td></tr><tr><td>1</td><td>Full transactions</td><td><code>boolean</code> (optional)</td><td><code>true</code> for full transaction objects, <code>false</code> or omitted for hashes only (default)</td></tr></tbody></table>

#### Returns

A unique identifier for the subscription, returned as a 32-byte hex string.

#### Example - Hash Mode (Default)

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": ["newFlashblockTransactions"]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x9c7c3f3c3c63b1b89ac0c1e0b0d3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8090a1b"
}
```

{% endtab %}
{% endtabs %}

#### Example - Full Transaction Mode

{% tabs %}
{% tab title="Request" %}

***

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": ["newFlashblockTransactions", true]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x9c7c3f3c3c63b1b89ac0c1e0b0d3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8090a1b"
}
```

{% endtab %}
{% endtabs %}

***

### eth\_unsubscribing

All subscription types can be unsubscribed using the standard `eth_unsubscribe` method with the subscription ID.

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_unsubscribe",
  "params": ["0x9c7c3f3c3c63b1b89ac0c1e0b0d3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8090a1b"]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": true
}
```

{% endtab %}
{% endtabs %}


# Realtime FAQs

## Realtime Block Building

<details>

<summary>How often are Realtime blocks produced?</summary>

Sub-slots are sequenced with a target timing of 200ms and require a 3-4 second window at the start of the block before the fast sequencing starts. This is due to the time it takes for the previous block's state to update/propagate.&#x20;

Where there are two consecutive realtime (12-sec) blocks, the 200ms sub-slot sequencing happens continuously between the two blocks for a seamless experience.&#x20;

</details>

<details>

<summary>Will the number of Realtime blocks per block always be the maximum? </summary>

Not always. Heavy execution in one interval may reduce time available for subsequent intervals. The REALTIME\_TIME setting is a target, not a strict guarantee.

</details>

<details>

<summary>Why isn't the Realtime block building always enabled? </summary>

When the validator assigned to the current slot hasn't delegated to us, the realtime block building will be disabled. See [Which Blocks are Realtime?](https://docs.ethgas.com/overview/which-blocks-are-realtime) for more information.

</details>

<details>

<summary>How do you sort each sub-block in real time?</summary>

As we assemble every sub-block, we keep reordering simulated bundles/txs by their effective priority fee. So the highest-paying orders are always tried first at each sub-block.

</details>

<details>

<summary>Where are ETHGas Realtime builders located?</summary>

The ETHGas Realtime builders are located in `Tokyo AWS in Zone apne1-az4`

</details>

<details>

<summary>What are the Realtime Builder Public Keys?</summary>

Mainnet:

* `0x86f3ad359674f58ca09fbb9254d7a65251184b7326b948b6d8057a6d8d062b053e87cca4a74b75603aaac521048174f1`

Hoodi:

* `0x96b5d4d9f95043b84a541ae8ee38cf51621d8c965c7a9fbc41d75474facfd422bde5d45ce7f2d3a2491e37e5474d0125`

</details>

## Transactions

<details>

<summary>How do you set the gas fee for a Realtime block?</summary>

Calculating the required gas fee for Realtime blocks is the same as for any normal block when using the ETHGas Realtime RPC.

If you are not using the Realtime RPC, and therefore underpay the required gas fee, your transaction may not be included in the Realtime block.

</details>

<details>

<summary>Do large gas transactions get delayed? </summary>

High gas transactions can be included in any Realtime block with sufficient gas capacity. Placement is optimized by heuristics, but available gas decreases as transactions fill earlier Realtime blocks.&#x20;

</details>

## High Availability and Safety

<details>

<summary>What happens if the Realtime builder fails? </summary>

Our ETHGas relay will fallback to a regular MEV-Boost block build (including pre-confirmation bundles).&#x20;

</details>

<details>

<summary>Do Realtime blocks change the safety model of Ethereum? </summary>

No, each realtime block is validated by the same execution engine as normal blocks

</details>

<details>

<summary>Why do we need ETHGas Realtime block building? </summary>

ETHGas realtime blocks change how fast apps can respond on Ethereum. Instead of waiting for full block finality (12 secs), you get an early signal of inclusion, fast enough to make things like trading, gaming, or live dashboards feel instant. It also works with standard RPC methods and doesn't require any new setup.&#x20;

</details>

<details>

<summary>How does ETHGas Realtime block building prevent MEV attacks? </summary>

As realtime blocks build and finalize a new sub-block roughly over 50-100ms, this leaves limited time for a searcher to see your transaction in the mempool and then exploit it. 100ms sub-blocks are expected to have about 91% less MEV.&#x20;

</details>


# Institutional Blockspace

Public rails. Institutional controls. A trusted Ethereum blockspace pathway for regulated finance: sanctions-aware, MEV-protected, and validator-accountable.

Institutional Blockspace is the **trust layer between regulated finance and public Ethereum**. It lets regulated participants access fully compliant, atomic instances of Ethereum on demand: preserving Ethereum settlement while adding the controls a bank, asset manager, or custodian needs before they can move from exploration to production.

It does this by moving three things upstream, **sanctions screening, transaction ordering, and validator accountability,** so they happen *before* block inclusion rather than being discovered after settlement.

### The institutional adoption gap

Public chains are powerful because they are open, neutral, and composable. The same properties create risk questions TradFi cannot ignore. Before institutions adopt, **risk must be controlled, trust must be institutional rather than implicit, and proof must be auditable.** Today, three gaps stand in the way:

**1. Sanctions exposure.** Permissionless activity makes OFAC and counterparty controls hard to evidence *before* settlement. Compliance issues are often discovered only after a transaction has already settled.

**2. Execution uncertainty.** MEV can introduce adverse ordering, information leakage, and execution-quality concerns. For an institution, that isn't a "crypto tax", it's market-integrity risk.

**3. Operator opacity.** Validators, builders, and relays may be pseudonymous, offshore, or otherwise hard to diligence, so there is no familiar accountability surface.

### The solution: institutionalized block construction

Institutional Blockspace creates a controlled blockspace pathway with three controls, each mapped directly to one of the gaps above.

**Control 1: Sanctions-aware inclusion**

OFAC and counterparty controls move upstream. Institutional flows are screened and evidenced **before** block inclusion, enforced by the Policy Engine, rather than reconciled after settlement.\
*Outcome: a sanctions-control perimeter designed for public-chain settlement.*

**Control 2: MEV-protected execution**

For institutions, MEV is a market-integrity risk: adverse ordering and information leakage. Institutional Blockspace applies ordering rules that reduce harmful extraction and improve predictability.\
*Outcome: fairer, more predictable execution institutions can evidence.*

**Control 3: Known or onshore validators**

Qualified, onshore operators give institutions a familiar diligence surface: identity, jurisdiction, controls, and enforceability.\
*Outcome: public-chain settlement with a bank-grade operator model.*

### The thesis

Institutional Blockspace becomes the **trust layer between regulated finance and public Ethereum**:

* Compliance-sensitive flows can be **screened and evidenced before inclusion** (sanctions exposure → controlled).
* **Fair ordering** reduces harmful extraction and improves execution confidence (execution uncertainty → managed).
* **Known operators** create a diligence and enforcement surface institutions recognize (operator opacity → resolved).

The result is a trusted pathway for institutions to move from exploration and pilots into production on public blockchain rails.

### Who this is for

* Banks and regulated trading desks executing onchain
* Asset managers and ETF / treasury operators
* Custodians and infrastructure providers serving regulated clients
* Protocol treasuries with compliance obligations


# Preconf Marketplace

ETHGas has four distinct blockspace products: Inclusion Preconfirmations, Execution Preconfirmations, Whole Blocks, and Base Fee Trading. <br>

Conventions:

* Prices are denominated in GWEI
* Settled in ETH
* Referenced in USD
* Minimum Size: 10k Gas Units
* Minimum Increment: 1k Gas Units
* Minimum Price: 0.01 Gwei
* Minimum Tick Size: 0.01 Gwei
* Order Types: Market Orders, Limit Orders, All-Or-None


# Inclusion Preconfirmations

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FCahnCT7A1y908qcH5q2c%2Fimage.png?alt=media&amp;token=dc363713-3507-49af-9b84-e7b94f78aa3b" alt=""><figcaption></figcaption></figure>

Inclusion Preconfirmations (or Inclusion Preconfs) are commitments whereby the Proposer guarantees to include your transactions within a specific block N. Bids are for a fixed amount of blockspace (e.g. 200k gas units), may be included anywhere in the block, and do not carry any reversion guarantees.&#x20;

Inclusion Preconf markets are created only when a Validator/Proposer has performed an initial, primary market sale of the Preconfs into the market. That is, it is not possible to ‘short’ an Inclusion Preconf.&#x20;

Transaction Fees: \[ 5% ] on Initial Sale, \[ 30 ] bps on secondary market trading TBC


# Execution Preconfirmations

Coming est. H2 2026

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F8ccx5gMRKOypdbIMfF46%2Fimage.png?alt=media&amp;token=77062b0e-6252-40fc-8922-918c6f3b5102" alt=""><figcaption></figcaption></figure>

Execution Preconfirmations (or Execution Preconfs) are Inclusion Preconfs but with a guarantee by the Proposer of a specific state or result. Bids are for specific Trades or Bundles, requiring both a certain amount of Blockspace.&#x20;

{% hint style="info" %}
Execution guarantees come in many forms - reach out to us at: <searchers@ethgas.com>, or on Twitter/X, to discuss some of the specific types of guarantees that would best suit your needs
{% endhint %}

Execution Preconfs are only for the current slot. More details coming shortly.&#x20;


# Whole Block Commitments

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FCrSNEmlzEjezPkXLsv99%2Fimage.png?alt=media&amp;token=74c82b46-6c6f-431c-9c49-e318e4c91b10" alt=""><figcaption></figcaption></figure>

A Whole Block purchased in the primary market reserves the entire block, \~ 36mm gas units (remark: gas limit can be dynamically adjusted by validators), for the buyer. Buyers may decide to **strip apart** and sell a mix of Inclusion Preconfirmations or Execution Guarantees. At such point, the Whole Block instrument now comprises a mix of other commitments whereupon subsequent secondary market sales of the Whole Block will be defined to be contingent upon including those other commitments.&#x20;

**Sequencing Rights** are also conferred to the Block Buyer making a whole block buyer a synthetic Block Builder as articulated in [The Design Process](https://docs.ethgas.com/overview/our-technology/the-design-process). Should a block buyer looking to retain key positions/guarantees in a block be unable to [Sequence a block accordingly](https://docs.ethgas.com/get-started/builders-and-sequencers), they may include their own Execution Guarantees or Inclusion Preconfirmations, and either:

* Not sequence the Block, following which ETHGas will be the fallback Builder,
* Sell the Block, or
* Delegate the Sequencing to a specific Builder

Market Details:

* Transaction Fees: \[ 5% ] on Primary sale, \[ 30 ]bps on secondary market trading TBC


# Base Fee Futures

Est. H2 2026

* Base Fee futures are Calendar Futures for a specific slot that enable trader to go Long or Short the Base Fee accordingly
* Settlement: Cash
* Initial Margin: \[ 100% ]
* Maintenance Margin: \[ 50% ]

More on this shortly


# x402 Agentic Preconfirmations

Buy a guaranteed Ethereum mainnet preconfirmation with one signed HTTP request. Standard x402, Permit2-native, WETH per call.

ETHGas's x402 for Blockspace endpoint lets an agent purchase a preconfirmation for a single Ethereum mainnet transaction. In plain language, you submit a signed transaction, pay the quoted WETH fee with signature via standard HTTP, and ETHGas passes it to the blockspace platform and partnered builders for inclusion.

This service works on Ethereum mainnet only. It is intended for users who already have an Ethereum wallet.

### At A Glance

* **Endpoint:** `https://x402.ethgas.com/v1/preconfirmations`
* **Method:** POST
* **Content-Type:** `application/json`
* **Authentication:** none — x402 is payment-native. Agents pay per request; no API keys, no accounts
* **Network:** Ethereum mainnet only

### Prerequisites

Before your first request:&#x20;

* An Ethereum mainnet wallet&#x20;
* Enough WETH to pay the preconfirmation fee (see [Pricing](#pricing))
* Enough ETH to pay the base and priority fee for your transaction
* A one-off transaction to grant the standard Permit2 contract the payment permission used by the facilitator to move the WETH fee when you approve the preconfirmation purchase

### Setup

Grant the standard Permit2 contract permission to move WETH on your behalf. This is a one-off transaction. After this, no further gas payments to ETHGas are required.

* **Permit2 Contract:** [`0x000000000022d473030f116ddee9f6b43ac78ba3`](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)
  * Permit2 is a contract developed by Uniswap
* **Recommended approval amount:** 0.002 ETH should be enough for \~100 swaps
* **Via Etherscan:** [approve WETH for Permit2](https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2#writeContract#F1)&#x20;
  * under `1. approve (0x095ea7b3)`&#x20;
  * put Permit2 contract address in `guy (address)` field
  * put approval amount in `wad (uint256)` field

### End-to-End Flow

#### Step 1: Sign the transaction you want executed

Prepare and sign your Ethereum mainnet transaction as you would for any RPC submission. Requirements:

* Valid Ethereum mainnet transaction
* Gas limit ≤ 300,000 units (limit in place during initial rollout to prevent any single transaction occupying the majority of blockspace)
* Blob transactions (EIP-4844 type 3) are **not** supported

#### Step 2: Request a preconfirmation

POST the signed transaction to the endpoint:

```bash
curl -X POST https://x402.ethgas.com/v1/preconfirmations \
  -H "Content-Type: application/json" \
  -d '{"rawSignedTransaction": "0x02f8..."}'
```

**If a suitable upcoming block slot is available**, ETHGas responds with `HTTP/1.1 402 Payment Required`:

```http
HTTP/1.1 402 Payment Required
PAYMENT-REQUIRED: <base64-encoded challenge>
```

Decoded challenge structure:

```json
{
  "scheme": "exact",
  "network": "eip155:1", // Ethereum mainnet
  "amount": "2100000000000", // in wei
  "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", // WETH address
  "payTo": "0x...",
  "maxTimeoutSeconds": 180,
  "extra": {
    "assetTransferMethod": "permit2"
  }
}
```

**If no upcoming block is available**, no payment request is issued. Wait briefly and request a new quote, do not retry immediately in a tight loop.

#### Step 3: Verify the payment challenge

Your agent should independently verify:

* `network` matches the expected chain (`ethereum`)
* `asset` is `WETH` (not ETH — payment is in wrapped ETH via Permit2)
* `amount` is within your budget
* [`assetTransferMethod`](#user-content-fn-1)[^1] is `permit2`

Reject any challenge that doesn't match your policy.

#### Step 4: Sign the payment challenge

Sign the typed payload using EIP-712 structured data signing. This authorizes the facilitator to pull the WETH fee via Permit2. This signature is gasless, no ETH is spent on the preconfirmation payment leg.

#### Step 5: Submit the signed payment

Retry the request with the signature in the `PAYMENT-SIGNATURE` header:

```bash
curl -X POST https://x402.ethgas.com/v1/preconfirmations \
  -H "Content-Type: application/json" \
  -H "PAYMENT-SIGNATURE: 0x1b8f..." \
  -d '{"rawSignedTransaction": "0x02f8..."}'
```

Payment requests expire in 180 seconds — sign and submit promptly. If a challenge expires, request a new quote rather than reusing the old one.

#### Step 6: Settlement and inclusion

ETHGas verifies the signature, settles the WETH payment via Permit2, and forwards the original signed transaction to the blockspace platform and partnered builders. Response:

```http
HTTP/1.1 200 OK
Content-Type: application/json

{
  "success": true,
  "status": "payment_settling",
  "pendingTransactionHash": "0x..."
}
```

* `pendingTransactionHash` identifies the pending preconf transaction, subject to the successful WETH payment

#### Step 7: Confirm on-chain inclusion

* Use Etherscan to query the above pending transaction hash or
* Poll `pendingTransactionHash` via standard Ethereum RPC to confirm inclusion:

```bash
curl -X POST https://ethereum-rpc.publicnode.com \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["<pendingTransactionHash>"],"id":1}'
```

#### Reference

You could follow the instructions in our [Github Repo](https://github.com/ethgas-developer/ethgas-x402-client).

### Pricing

The preconfirmation fee is based on your transaction's **gas limit**, not the gas it eventually consumes:

```
preconfirmation fee = price per gas unit × transaction gas limit
```

**Example:** at a price of `0.1 gwei` per gas unit with a gas limit of `21,000`, the fee is `2,100 gwei` = `0.0000021 WETH`.

The preconfirmation fee is separate from and additional to:

* **The Ethereum network fee both base and priority fee** for your transaction, paid in ETH as normal

### Inclusion & MEV Protection

ETHGas provides fast inclusion via direct routing to block builders, with deterministic inclusion for blocks proposed by ETHGas-partnered validators.

* **Fast inclusion.** Once a preconfirmation is issued, ETHGas forwards the signed transaction directly to a network of block builders, including ETHGas's own block-building infrastructure. The transaction bypasses the public mempool.
* **Deterministic inclusion for ETHGas-built blocks.** For blocks proposed by ETHGas-partnered validators, inclusion is deterministic once a preconfirmation is issued. Coverage across the Ethereum validator set is growing through ongoing partner onboarding.
* **MEV protection.** Because transactions bypass the public mempool, they are not visible to public MEV searchers. This protects them from front-running and sandwich attacks by construction.

### Common failures

<table><thead><tr><th width="306.33984375">Condition</th><th>Behavior</th></tr></thead><tbody><tr><td>No upcoming block available</td><td>No payment request issued. Retry after a short wait</td></tr><tr><td>Payment signature invalid or expired</td><td>No preconfirmation issued. Request a new quote</td></tr><tr><td>Insufficient WETH balance or missing Permit2 approval</td><td>No preconfirmation issued</td></tr><tr><td>Duplicate submission of the same signed transaction</td><td>May be rejected while the first attempt is being processed. Do not submit the same signed tx through multiple routes concurrently</td></tr><tr><td>Gas limit above 300,000 units</td><td>Rejected at intake</td></tr><tr><td>Blob transaction (EIP-4844 type 3)</td><td>Rejected at intake</td></tr></tbody></table>

### Refund

* In the uncommon case that the transaction is rejected after the payment is settled, ETHGas will issue a refund to the original payer.

[^1]:


# Wallets

Wallets are transaction originators: they submit signed transactions on behalf of their users. ETHGas lets wallets route these transactions to our orderflow engine, make them available for searcher backruns to enable users to earn refunds, then get routed to our realtime builder for fast inclusion.

There are two parts to a wallet integration: **transaction submission,** **tracking, and refunds**. Use them together to submit user transactions and monitor their progress and value recovery.

| Your goal                                                                              | Integration path                                                                                                                                                 |
| -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You want to submit user transactions or bundles to earn refunds.                       | [**Transaction submission**](https://docs.ethgas.com/get-started/wallets/transaction-submission) - send signed transactions through the originator RPC endpoint. |
| You want to check submission status and monitor pending refunds and confirmed payouts. | [**Tracking and refunds**](https://docs.ethgas.com/get-started/wallets/tracking-and-refunds) - query status by hash and use partner access for refund reporting. |


# Transaction Submission

Originators send signed transactions through the public or partner RPC endpoint.

<table><thead><tr><th width="97.3359375">Access</th><th width="482.68359375">Endpoint</th><th>Remark</th></tr></thead><tbody><tr><td>Partner</td><td><code>https://originator.orderflow.ethgas.com/v1/{API_KEY}</code></td><td><ul><li>With dedicated refund endpoint</li><li>Much higher rate limit</li></ul></td></tr><tr><td>Public</td><td><code>https://originator.orderflow.ethgas.com/v1</code></td><td><ul><li>Basic features</li></ul></td></tr></tbody></table>

To request a partner account, contact us at <info@ethgas.com> and share your EOA address. Afterwards, you can refer to [here](https://docs.ethgas.com/get-started/wallets/obtain-an-api-key) for how to obtain the API key.

## Send a transaction

The engine supports these equivalent methods:

* `eth_sendRawTransaction` with `params: ["0x..."]`
* `eth_sendPrivateRawTransaction` with `params: ["0x..."]`
* `eth_sendPrivateTransaction` with `params: [{"tx":"0x..."}]`

Each returns the ordinary Ethereum transaction hash.

## Send a bundle

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendBundle",
  "params": [{
    "txs": ["0x<SIGNED_TX_1>", "0x<SIGNED_TX_2>"],
    "blockNumber": "0x12abcde",
    "refundPercent": 90,
    "refundRecipient": "0x1111111111111111111111111111111111111111"
  }]
}
```

`txs` must contain signed transaction(s). `blockNumber` and both refund fields are optional. If the target block has already passed, the request is rejected. `refundPercent` is an optional integer in the range 0–99. Values outside the configured range are silently replaced with the deployment default. The default is 90. `refundRecipient` is optional and defaults to the sender of the bundle's first transaction.

The result contains the engine's local identity:

```json
{"jsonrpc":"2.0","id":1,"result":{"bundleHash":"0x..."}}
```

## Refund override

Any originator method can use a query override:

```
?refund=0x1111111111111111111111111111111111111111:75
```

The query value takes precedence over bundle-body refund fields. Percentages outside the deployment's configured range fall back to the configured default; malformed values are rejected.

Without an override, the configured default percentage and the first transaction's recovered sender are used.

## Transaction Protection

Only decoded transaction data are shared with restricted list of searchers, never signed raw transactions or signatures. Searchers can submit backruns that execute after your users’ transactions; frontrunning is not permitted.

All originator transactions are forwarded to the realtime builders, regardless of whether a searcher backrun is present. No transaction is leaked to the mempool.

More details can be found in [Orderflow API reference](https://docs.ethgas.com/get-started/orderflow-api-reference)


# Obtain an API key

You need to request a partner account first, contact us at <info@ethgas.com> and share your EOA address.&#x20;

The account's Ethereum address controls API-key issuance through an EIP-712 signature.

## Issue an API key

Request a challenge for the account address:

```bash
curl "https://orderflow.ethgas.com/v1/auth/challenge?address=0x<ACCOUNT_ADDRESS>"
```

Sign the returned EIP-712 payload without changing it, then submit the complete challenge, the same top-level address, and the signature:

```bash
curl https://orderflow.ethgas.com/v1/auth/verify \
  -H 'Content-Type: application/json' \
  --data '{
    "address": "0x<ACCOUNT_ADDRESS>",
    "domain": { "...": "exact challenge domain" },
    "types": { "...": "exact challenge types" },
    "primaryType": "AuthChallenge",
    "message": { "...": "exact challenge message" },
    "signature": "0x<SIGNATURE>"
  }'
```

The response contains one `ek_live_...` API key. Store it securely; keys belong to one account type and are not interchangeable.

{% hint style="warning" %}
Issuing a new key rotates the account's active key. Never put API keys, private keys, signed transactions, or authorization headers in logs.
{% endhint %}

## Revoke an API key

To revoke your current API key, send a `POST` request with the key in the `Authorization` header and an empty JSON object as the request body:

```bash
curl -X POST https://orderflow.ethgas.com/v1/auth/api-keys/revoke \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  --data '{}'
```

More details can be found in [Orderflow API reference](https://docs.ethgas.com/get-started/orderflow-api-reference)


# Tracking and Refunds

Tracking endpoints provide status reads by hash. Responses never return signed raw transaction bytes or signatures.

## Transaction status

```bash
curl https://orderflow.ethgas.com/v1/tx/0x<TRANSACTION_HASH>
```

```json
{
  "status": "FORWARDED",
  "hash": "0x...",
  "timeReceived": "2026-09-07T12:00:00.000Z",
  "transaction": null,
  "refundPercent": null,
  "refundRecipient": null
}
```

Public transaction tracking returns the status, hash, and receipt time. The `transaction`, `refundPercent`, and `refundRecipient` fields are null.

To retrieve the decoded unsigned transaction and refund policy for an owned flow, use `https://orderflow.ethgas.com/v1/{API_KEY}/tx/{txHash}` with the owning partner originator's API key.

An unknown hash still returns HTTP `200`, with `status: "UNKNOWN"` and null detail fields.

## Bundle status

```bash
curl "https://orderflow.ethgas.com/v1/bundle?hash=0x<BUNDLE_HASH>"
```

```json
{
  "status": "FORWARDED",
  "bundleHash": "0x...",
  "builderBundleHash": "0x...",
  "blockNumber": "0x12abcde",
  "timeReceived": "2026-09-07T12:00:00.000Z"
}
```

`bundleHash` is the engine's identity. `builderBundleHash` is null until an accepting builder returns a valid bundle hash.

## Partner refunds

Partner originators can list only their own refund liabilities and confirmed payouts:

```bash
curl https://orderflow.ethgas.com/v1/<API_KEY>/refunds
```

The response groups confirmed entries by payout transaction and pending batch entries by recipient. Refund amounts are decimal wei strings.

Refund reporting follows finalized chain data with a fixed 32-block lag. Refund payment usually happens on a daily basis. A forwarded bundle does not by itself guarantee a refund: the engine must attribute an eligible finalized builder payment to the originator flow.

More details can be found in [Orderflow API reference](https://docs.ethgas.com/get-started/orderflow-api-reference)


# Traders

Explore arbitrage opportunities through propAMMs or New Uniswap Realtime Pools. Once you have constructed and signed your arbitrage transaction or bundle, submit it directly to the ETHGas realtime builder for fast inclusion.

| Your goal                                                                  | Where to start                                                                                                                                                                                                                                                        |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Look for arbitrage opportunities through propAMM.                          | [**propAMM**](https://docs.ethgas.com/get-started/traders/propamm) - compare quotes with other trading venues to identify price differences.                                                                                                                          |
| Look for arbitrage opportunities in Uniswap pools with realtime swap fees. | [**New Uniswap Realtime Pools**](https://docs.ethgas.com/get-started/traders/uniswap-realtime-pools) - explore ETHGas-enabled Uniswap v4 pools, where a lower configured fast swap fee can make smaller price differences economical to trade during realtime blocks. |
| Submit your signed arbitrage transaction or bundle for fast inclusion.     | [**Builder endpoint**](https://docs.ethgas.com/get-started/searchers/builder-endpoint) - send transactions with `eth_sendRawTransaction` or ordered bundles with `eth_sendBundle` directly to the ETHGas builder.                                                     |


# PropAMM

### Building a PropAMM? <a href="#propamm-router" id="propamm-router"></a>

The team at LambdaClass have put together a PropAMM Factory, an open-source repo for deploying and operating your own PropAMM. To get up to speed quickly with the contracts, exchange feeds, pricing logic, signing, builder connectivity and monitoring, go [here for the repo](https://github.com/lambdaclass/propamm-factory), and [here for an intro](https://blog.lambdaclass.com/announcing-propamm-factory/).&#x20;

### PropAMM Router <a href="#propamm-router" id="propamm-router"></a>

The PropAMM Router helps traders find and execute trades against the various PropAMMs.&#x20;

`0x4ddf368080cd7946db5b459ad591c350158175e1`

More information on how to interact with it and all PropAMMs, go [here](https://github.com/lambdaclass/propamm-router-contracts).

### Currently live in ETHGas blocks: <a href="#currently-live-in-titan-blocks" id="currently-live-in-titan-blocks"></a>

| Maker    | Contract                                                                                                                                                                                                                                                                                                              |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Metric   | <p>Compressed Oracle: <code>0xE844701934D9C6085B292e428F41b911cC0b3872</code> </p><p>Pyth Oracle: <code>0x30a88bf894D1b806125a23ebf23D715496fD7102</code></p><p>ChainlinkOracle:<br><code>0x810A649974f21bB6D3b2E781597EdBDAabe82228</code></p><p>Router: <code>0x99Ab7c1C5eab47801F7937075998527a550fbA8a</code></p> |
| Tempest  | <p>Oracle: <code>0xDa7AfEeD021EAFC1c1Af9C362dE477DaD0396B81</code> </p><p>Router: <code>0x00000003f1ec2379e79F58E12EC6C4F51Ee92149</code><br></p>                                                                                                                                                                     |
| TaurusFi | <p>Oracle: <code>0xDa7AfEeD021EAFC1c1Af9C362dE477DaD0396B81</code> <br>Router: <code>0x3ce2672Aa806138585920421406Bf0dEcB8130Cb</code><br></p>                                                                                                                                                                        |

All PropAMMs are required to implement [this](https://github.com/lambdaclass/propamm-router-contracts/blob/main/src/interfaces/IPropAMM.sol) interface.

### Overview <a href="#overview" id="overview"></a>

A Proprietary AMM (PropAMM \[pAMM]) is an onchain pool in which prices are continuously updated by a market maker. Instead of relying on a passive inventory curve, makers stream signed quote updates to the builder ensuring prices are updated in real-time.

The pool is a passive Ethereum contract, enabling anyone to swap against it directly without an offchain layer. Once a maker update is included, taker interactions settle onchain like any other AMM interaction, and can be composed into normal swap paths, solver transactions, arbitrage bundles, and aggregator routes. This is the key difference to current Ethereum RFQ-style institutional liquidity: pAMM liquidity sits directly inside an onchain venue rather than behind a separate offchain layer.

Ethgas enables pAMMs on Ethereum through a mechanism that grants power over transaction sequencing to applications also known as Application-Controlled Execution (ACE). Makers stream quote updates directly to the builder and receive deterministic priority relating to their own pool updates. Takers submit bundles routing through pAMM liquidity, and the builder automatically sequences them against current pAMM state, re-simulating submissions on every quote update to ensure orders are filled at the latest available price.

### What ETHGas offers with ACE <a href="#what-titan-offers-with-ace" id="what-titan-offers-with-ace"></a>

Historically, If a maker posts a quote too early the price may be stale by the time the taker flow lands, allowing takers to benefit from any mispricing. Alternatively, if takers are forced to choose a route before the final block state is known they would have to route against a stale price, leaking value to makers.

ETHGas solves this at the builder layer:

* Makers stream low-latency quote updates to the builder
* Stale quote updates are replaced, so only the latest applicable quote is considered
* When a taker trades against a pAMM, the latest quote update is guaranteed to be ranked before it in the block
* Makers can configure freshness protection so takers are only eligible for inclusion against sufficiently recent quote state
* Takers can submit multiple candidate routes through pAMM and constant-function market makers (CFMM) liquidity
* The builder evaluates candidates against live state at build time and re-evaluates on every pAMM quote update right up until the point of inclusion

This gives pAMMs on Ethereum a new set of advantages. Rather than relying on public propagation and protocol level ordering behaviour, the maker gets an explicit builder-enforced priority rule around its own pool. That priority applies both to rank in the block and to the timing relationship between quote and taker receipts. For takers, the builder becomes the place where pAMM and CFMM pricing can be compared against the latest available state.

The result is a more deterministic execution environment for active liquidity, that has the potential to offer tighter quotes than any CEX or propAMM chain. For this reason, we soon expect Ethereum to offer the industry’s most competitive prices on major pairs.

### Integration paths <a href="#integration-paths" id="integration-paths"></a>

There are three main integration surfaces:

1. Makers stream quote updates to ETHGas through the pAMM quote WebSocket. Quotes can land every block, or only when there is taker flow, depending on the maker session configuration.
2. Takers submit candidate bundles through the normal bundle path. A candidate can route through existing CFMM liquidity, pAMM liquidity, or both. The builder evaluates all candidates against the freshest available pAMM state.
3. Takers can also consume the pAMM state stream when makers opt in. The stream publishes flattened Ethereum state override objects, making it easier for searchers, solvers, and aggregators to simulate pAMM routes locally before submission.

The following pages describe the maker and taker interfaces in more detail.

<br>

<br>

<br>

<br>


# Makers

pAMM Quote WebSocket

> This endpoint is reserved for trading firms operating a propAMM on Ethereum who want to land quote updates in ETHGAS realtime blocks. Access is API-key gated, please go to: <https://hoodi.propamm.ethgas.com/> to get the access

### Behavioral properties <a href="#behavioural-properties" id="behavioural-properties"></a>

**Maker priority**

The builder provides two defences against being picked off on latency.

**Taker ordering.** When a taker trade against the pool is included in a block, the latest applicable quote update is guaranteed to be placed before it in the same block.

**Maker freshness protection.** A per-session freshness buffer `b`, set at onboarding, can be applied to takers routing against your pool. A taker is only eligible to trade against a quote update if the taker was received by the builder at least `b` before that quote update was received:

```
taker_recv + b < quote_update_recv
```

For example, with `b = 50ms`, a quote update received at time `T` can only be sequenced against takers received before `T - 50ms`.

This reduces exposure to toxic takers attempting to snipe stale quotes, while also protecting makers in case of quote streaming failures mid-slot.

Makers should therefore target a requote cadence of 50ms even if the price they're quoting did not move. We will evict any quotes from the quote state override stream as well as the price level stream that did not receive an update for longer than 400ms.

**Fast replacements and cancellations**

Quotes sent through this endpoint take the fastest path to the builders. We have cores dedicated to simulating and applying these bundles efficiently. Cancellations are more consistent due to stricter block overwrite rules.

**Conditional inclusion**

Quote transactions can either land every block, or only when a taker in the block trades against the pool. The builder evaluates each candidate tx against every live quote and, in conditional mode, includes the latest quote update immediately before any taker - quotes that have no takers never go onchain.

#### Authentication <a href="#authentication" id="authentication"></a>

Authentication uses an API key shared directly when access is granted. Specify it in the `Authorization` header when establishing the WebSocket connection.

#### Endpoints <a href="#endpoints" id="endpoints"></a>

Use the following regional endpoints to get the lowest latency between your quote publisher and our clusters. Higher-performance URLs (direct access) are available on request.

| Region                       | Mainnet                                                                                                          |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `us-east-1`                  | [wss://us.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate) |
| `eu-central-1`               | [wss://eu.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate) |
| `ap-northeast-1 (Tokyo, 1a)` | <wss://ap.propamm.rpc.ethgas.com/ws/sendquoteupdate>                                                             |
| `ap-northeast-1 (Tokyo, 1d)` | [wss://ap-2.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://ap.propamm.rpc.ethgas.com/ws/sendquoteupdate)       |

Hoodi staging (stable version):

Hoodi dev (active development version)

|              | Hoodi Dev                                                                                                                 | Hoodi staging                                                                                                         |
| ------------ | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `ap-east-1c` | <wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate>                                                              | [wss://hoodi.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate)   |
| `ap-east-1c` | [wss://hoodi-test2.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate) | [wss://hoodi-2.propamm.rpc.ethgas.com/ws/sendquoteupdate](wss://hoodi-test.propamm.rpc.ethgas.com/ws/sendquoteupdate) |

#### Submit quote (`ws/sendquoteupdate`) <a href="#submit-quote-ws-sendquoteupdate" id="submit-quote-ws-sendquoteupdate"></a>

```proto
message PWebsocketQuoteUpdateV1Args {
  // RLP-encoded quote-update tx bytes. Empty = cancel the replacement_uuid.
  bytes tx = 1;
  // single block this quote is valid for
  uint64 block_number = 2;
  // 16-byte quote identifier (raw UUID bytes).
  bytes replacement_uuid = 3;
  // monotonic per uuid (>0)
  uint64 replacement_seq_number = 4;
  // quotes will not be shared between builder regions
  bool disable_cross_region_sharing = 5;
  // Asset pairs for quoting: each element is 40 bytes (two 20-byte ERC20 token
  // addresses concatenated). Designates which pair prices are influenced by the update.
  repeated bytes asset_pairs = 6;
  // Quote address taker has to touch (20-byte address) in order to receive a quote. 
  bytes quote_address = 7; 
  // Pool addresses (20-byte address) for which this quote is needed if takers want to swap
  repeated bytes pool_addresses = 8;
}
```

`replacement_uuid` must be set and exactly 16 bytes. `replacement_seq_number` must be set and strictly greater than the previous value seen under the same `replacement_uuid` and cannot be 0. Messages violating either constraint are dropped.

We recommend setting `disable_cross_region_sharing` to `true`. Otherwise we broadcast your quotes internally across regions, which adds latency you do not control. For best results, run edge nodes next to each of our regional clusters and send directly to the closest.

#### Cancel quotes <a href="#cancel-quotes" id="cancel-quotes"></a>

Send a `PWebsocketQuoteUpdateV1Args` with `tx` empty, `replacement_uuid` set to the quote you want to pull, and a strictly greater `replacement_seq_number` than the last update under that uuid.

#### Response <a href="#response" id="response"></a>

```proto
message PWebsocketQuoteUpdateV1Response {
  // Quote identifier being acknowledged.
  bytes replacement_uuid = 1;
  uint64 replacement_seq_number = 2;
  // RPC receive UNIX nanos.
  uint64 timestamp = 3;
  // Empty on success. Populated with error detail on failure.
  string error = 4;
}
```

Match responses to submits on `(replacement_uuid, replacement_seq_number)`. Use `timestamp` minus your local send-time to measure end-to-end latency.

#### Example (Rust) <a href="#example-rust" id="example-rust"></a>

```rust
// Generate the `pb` module from the .proto above using prost-build.

use std::io::ErrorKind;
use tungstenite::{client::IntoClientRequest, stream::MaybeTlsStream, Message as WsMessage};
use prost::Message;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut req = "wss://ap.propamm.rpc.ethgas.com/ws/sendquoteupdate".into_client_request()?;
    req.headers_mut().insert("Authorization", "YOUR_API_KEY".parse()?);

    let (mut ws, _) = tungstenite::connect(req)?;

    if let MaybeTlsStream::Plain(s) = ws.get_mut() {
        s.set_nodelay(true)?;
        s.set_nonblocking(true)?;
    }

    let mut buf = Vec::with_capacity(4096);
    let mut seq: u64 = 0;

    loop {
        seq += 1;
        let quote = pb::PWebsocketQuoteUpdateV1Args {
            tx: vec![/* RLP-encoded signed quote-update tx */],
            block_number: 1234,
            replacement_uuid: vec![/* 16 bytes */],
            replacement_seq_number: seq,
            disable_cross_region_sharing: true,
            asset_pairs: vec![/* 40-byte token0||token1 concatenations */],
            quote_address: /*20 byte address*/,
            pool_addresses: vec![/*optionally filled: 20 byte address,20 byte address*/,]
        };

        buf.clear();
        quote.encode(&mut buf)?;

        match ws.send(WsMessage::Binary(buf.into())) {
            Ok(()) => {}
            Err(tungstenite::Error::Io(e)) if e.kind() == ErrorKind::WouldBlock => {}
            Err(e) => return Err(e.into()),
        }

        match ws.read() {
            Ok(WsMessage::Binary(bytes)) => {
                let _resp = pb::PWebsocketQuoteUpdateV1Response::decode(&*bytes)?;
                // latency = match on (replacement_uuid, replacement_seq_number)
            }
            Ok(_) => {}
            Err(tungstenite::Error::Io(e)) if e.kind() == ErrorKind::WouldBlock => {}
            Err(e) => return Err(e.into()),
        }
    }
}
```

#### Pricing <a href="#pricing" id="pricing"></a>

Quote updates submitted through this endpoint do not pay priority fees.

Instead, makers are charged a volume-based fee on filled trades. Fees are configured on a per-pair basis. Pricing may differ across assets depending on market structure and quoting behaviour, though fees across makers are the same.

During the initial testing phase, fee discounts are active while we collect data on spreads, fill quality, and realised markouts across different markets. We expect to move to a more stable and publicly documented fee schedule once the system has been sufficiently tested and pricing can be calibrated from production data. Please reach out directly for more information on current pricing.


# Takers

Routing Against pAMM Liquidity

> Audience: searchers, solvers, and aggregators routing flow or arbitrage paths through pAMM liquidity in ETHGas blocks.

#### Multi-candidate bundle submission <a href="#multi-candidate-bundle-submission" id="multi-candidate-bundle-submission"></a>

Send us N candidate bundles for the same trade, each routing differently. At build time we evaluate every candidate against live state, including the freshest streamed quote from every pAMM, and include whichever gives the best outcome.

1. Construct your normal path through CFMM liquidity.
2. Construct additional variants where one or more hops route through pAMMs.
3. Submit all variants. We evaluate each against current state at build time and re-evaluate on every pAMM quote update until inclusion.

Use the same bundle submission path you already use.

#### pAMM state stream <a href="#pamm-state-stream" id="pamm-state-stream"></a>

Takers can consume a JSON stream of pAMM state overrides for makers that opt in to publishing their state. The stream is intended for searchers, solvers, and dex aggregators that want fresher routing inputs for pAMM liquidity before submitting candidate bundles.

The stream is maker opt-in. Makers choose whether to publish state, and configure the update thresholds and delay applied before state is emitted.

Some maker streams may require permissioned access. For example, a maker may only allow whitelisted takers such as dex aggregators to consume their stream. Please reach out if there are pAMM quotes you want access to that are not currently available.

#### **pAMM stream addresses**

| Maker    | Top-level stream address                                                                  | Price-level pamm address                     |
| -------- | ----------------------------------------------------------------------------------------- | -------------------------------------------- |
| Metric   | `0xe844701934d9c6085b292e428f41b911cc0b3872` `0x30a88bf894d1b806125a23ebf23d715496fd7102` | `0x99ab7c1c5eab47801f7937075998527a550fba8a` |
| Tempest  | `0x00000003f1ec2379e79f58e12ec6c4f51ee92149`                                              | `0x00000003f1ec2379e79f58e12ec6c4f51ee92149` |
| TaurusFi | `0x20861433d9119b866eeb398cb1ad46652a3cf953`                                              |                                              |

**Endpoints**

pAMM data is served from the regional data hosts.&#x20;

| Region                       | State stream (WebSocket)                                       | Price levels (WebSocket)                                        | JSON-RPC                                     |
| ---------------------------- | -------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------- |
| `us-east-1`                  | wss\://us.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2   | wss\://us.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2   | <https://us.propamm.data.ethgas.com/data​>   |
| `eu-central-1`               | wss\://eu.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2   | wss\://eu.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2   | <https://eu.propamm.data.ethgas.com/data​>   |
| `ap-northeast-1 (Tokyo, 1a)` | wss\://ap.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2   | wss\://ap.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2   | <https://ap.propamm.data.ethgas.com/data​>   |
| `ap-northeast-1 (Tokyo, 1d)` | wss\://ap-2.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2 | wss\://ap-2.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2 | <https://ap-2.propamm.data.ethgas.com/data​> |

Hoodi staging (stable version):&#x20;

| Region     | State stream (WebSocket)                                            | Price levels (WebSocket)                                            | JSON-RPC                                         |
| ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------ |
| ap-east-1c | ​wss\://hoodi.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2    | ​wss\://hoodi.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2   | ​<https://hoodi.propamm.data.ethgas.com/data​>   |
| ap-east-1c | ​wss\://hoodi-2.propamm.data.ethgas.com/ws/pamm\_quote\_stream​\_v2 | ​wss\://hoodi-2.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2 | ​<https://hoodi-2.propamm.data.ethgas.com/data​> |

Hoodi dev (active development version)

| Region     | State stream (WebSocket)                                                | Price levels (WebSocket)                                                | JSON-RPC                                             |
| ---------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------- |
| ap-east-1c | ​wss\://hoodi-test.propamm.data.ethgas.com/ws/pamm\_quote\_stream\_v2   | ​wss\://hoodi-test.propamm.data.ethgas.com/ws/pamm\_price\_levels​\_v2  | ​<https://hoodi-test.propamm.data.ethgas.com/data​>  |
| ap-east-1c | ​wss\://hoodi-test2.propamm.data.ethgas.com/ws/pamm\_quote\_stream​\_v2 | ​wss\://hoodi-test2.propamm.data.ethgas.com/ws/pamm\_price\_levels\_2v​ | ​<https://hoodi-test2.propamm.data.ethgas.com/data​> |

**Format**

Each WebSocket message is JSON.

| Field             | Type      | Description                                                                                     |
| ----------------- | --------- | ----------------------------------------------------------------------------------------------- |
| `maker`           | string    | Maker publishing the venue.                                                                     |
| `quoteAddress`    | string    | Address the maker publishes under (see pAMM stream addresses).                                  |
| `pricedAddresses` | string\[] | `quoteAddress` plus any pool addresses that price from this quote.                              |
| `assetPairs`      | object\[] | Pairs the quote covers, each as `token_1` and `token_2` ERC20 addresses.                        |
| `pairSequences`   | number\[] | Quote sequence for each entry in `assetPairs`.                                                  |
| `slot`            | number    | Beacon slot of the block being built. The block timestamp is `1606824023 + 12 * slot`           |
| `blockNumber`     | number    | Execution block number the state targets.                                                       |
| `timestamp`       | number    | ETHGas snapshot time in nanoseconds. This is not the block timestamp; use `slot` for block time |
| `stateOverride`   | object    | State override set for the venue.                                                               |

```json
{
  "venues": [
    {
      "maker": "Goliath",
      "quoteAddress": "0x4367985a63063fc970b009c6e599e9225181f551",
      "pricedAddresses": ["0x4367985a63063fc970b009c6e599e9225181f551"],
      "assetPairs": [
        {
          "token_1": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "token_2": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
        }
      ],
      "pairSequences": [284752574598007134814732506],
      "slot": 15436468,
      "blockNumber": 26197444,
      "timestamp": 1792061637827365465,
      "stateOverride": {
        "0x48165e588ec68e724315d3e0fe7b0f3b9b6c7a6d": {
          "balance": "0x1b67d6e14e25bd9f",
          "nonce": "0xd00"
        },
        "0xb261ef0a97bc7cf3af2025ab6b3792e6062d3d4a": {
          "balance": "0x0",
          "nonce": "0x1",
          "stateDiff": {
            "0x0000000000000000000000000000000000000000000000000000000000000000": "0x000000006ad0b0c800003c06d28e20000000000000000000000000008cd9ed84"
          }
        }
      }
    }
  ]
}
```

`stateOverride` uses the same structure as the Ethereum `eth_call` State Override Set. Its keys are account addresses, and each account override may include `balance`, `nonce`, `code`, `state`, and `stateDiff`. `stateDiff` maps storage slot keys to overridden storage values.

The `stateOverride` object can be passed directly as the third parameter to `eth_call`, or as `stateOverrides` in an `eth_simulateV1` block state call. To simulate against several pAMMs at once, merge their `stateOverride` objects into a single object keyed by account address.

**Latest state over JSON-RPC**

Takers that do not want to maintain a WebSocket connection can request the latest pAMM state over JSON-RPC on the regional data endpoint (see Endpoints).

Request:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "ethgas_getPammVenues",
  "params": []
}
```

The result is a snapshot of every pAMM venue you have access to. The result has the same shape as a WebSocket message.:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "slot": 14285824,
    "blockNumber": "0x17e4458",
    "0x5979458912f80b96d30d4220af8e2e4925a33320": { "stateOverride": { ... } },
    "0xb09aaa8933626d7e4c48d65dad2d77021cfbca9a": { "stateOverride": { ... } }
  }
}
```

**Example (Python)**

```python
import asyncio
import json
import urllib.request

import websockets

WS_URI = "wss://ap.propamm.data.ethgas.com/ws/pamm_quote_stream_v2"
RPC_URL = "https://ap.propamm.data.ethgas.com/data​"


def get_pamm_venues():
    body = json.dumps({
        "jsonrpc": "2.0",
        "id": 1,
        "method": "ethgas
        _getPammVenues",
        "params": [],
    }).encode()
    req = urllib.request.Request(
        RPC_URL, data=body, headers={"Content-Type": "application/json"}
    )
    with urllib.request.urlopen(req, timeout=10) as resp:
        return json.loads(resp.read())["result"]


def state_overrides(message):
    return {v["quoteAddress"]: v["stateOverride"] for v in message["venues"]}


async def main():
    # One-shot snapshot.
    snapshot = get_pamm_venues()
    print(list(state_overrides(snapshot)))

    # Live updates.
    async with websockets.connect(WS_URI) as ws:
        async for message in ws:
            update = json.loads(message)
            print(list(state_overrides(update)))


asyncio.run(main())
```

#### pAMM price levels <a href="#pamm-price-levels" id="pamm-price-levels"></a>

Takers can also consume a live pAMM price level stream. Unlike the state stream, this stream is already quoted by ETHGas, with one book per maker and market.

Each message is a complete snapshot. Keep the newest message and treat older ones as superseded.

Use the `/ws/pamm_price_levels_v2` path on the regional data hosts (see Endpoints).

**Latest price levels over WebSocket**

Each WebSocket message is JSON. The `books` array contains one book per maker and market.

```json
{
  "slot": 15436468,
  "block": 26197444,
  "ts": 1792061637434840374,
  "books": [
    {
      "maker": "Tempest",
      "quoteAddress": "0x00000003f1ec2379e79f58e12ec6c4f51ee92149",
      "token1": "WETH",
      "token2": "USDT",
      "token1Address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "token2Address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "calculated_from": 284752574598007134814732441,
      "bids": [
        { "price": 2365.0436, "cumVolume": 0.005 },
        { "price": 2365.0437325014946, "cumVolume": 0.008118883695943609 }
      ],
      "asks": [
        { "price": 2365.526259, "cumVolume": 0.004227389132525372 },
        { "price": 2365.526259, "cumVolume": 0.007203486723163025 }
      ]
    }
  ]
}
```

**Latest price levels over JSON-RPC**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "ethgas_getPammBooks",
  "params": []
}
```

The `result` has the same shape as a WebSocket message.

#### pAMM quote helpers <a href="#pamm-quote-helpers" id="pamm-quote-helpers"></a>

ETHGas exposes two JSON-RPC quote helpers on the regional data endpoints, backed by the latest price level snapshot.

`ethgas_getPammQuoteVenue` quotes one pAMM. It mirrors the LambdaClass router `quoteVenueV1` / `quoteV1` flow.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "ethgas_getPammQuoteVenue",
  "params": ["0xVenue", "0xTokenIn", "0xTokenOut", "0xAmountIn"]
}
```

`ethgas_getPammQuote` scans all pAMMs in the latest snapshot and returns the best quote plus the pAMM that produced it.

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "ethgas_getPammQuote",
  "params": ["0xTokenIn", "0xTokenOut", "0xAmountIn"]
}
```

Both methods return the same response shape:

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
    "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "amountIn": "0xde0b6b3a7640000",
    "amountOut": "0x9fb79b90",
    "pamm": "0x00000003f1ec2379e79f58e12ec6c4f51ee92149",
    "router": "0x4ddf368080cd7946db5b459ad591c350158175e1",
    "blockNumber": 26078723,
    "slot": 15317324,
    "timestamp": 1790631904288995296
  }
}
```

#### On-chain routing <a href="#on-chain-routing" id="on-chain-routing"></a>

On-chain routing is another integration path for pAMM liquidity. It is not a separate ETHGas endpoint, but a router- or solver-side pattern that can be used alongside the bundle flow above.

The idea is to move route selection into the execution transaction. Instead of submitting a single pre-selected path, the transaction carries multiple candidates per hop. For a route from asset A to asset B to asset C, the A → B hop could have several candidate venues, and the B → C hop could have several candidate venues. Some candidates may route through standard AMM liquidity, others through pAMMs.

Because execution happens on-chain, the router evaluates the candidate set against the exact execution state and selects the best valid combination. This suits pAMM routing well because quote state can change between path construction and inclusion: if a maker update lands earlier in the same block, the router sees the updated state when the taker transaction executes.


# With Realtime Markets

The ETHGas Realtime Market is designed to support propAMM trading through Flashblocks: sub-blocks that incrementally extend an Ethereum block.

Makers and takers receive execution preconfirmations at sub-block boundaries, before the complete block is published.

### Execution and confirmation

For each sub-block, the builder evaluates applicable maker updates and taker transactions against the current execution state. Required maker updates execute before the taker transactions that use them.

Once a sub-block is committed, its included transactions, ordering and execution results are fixed within the realtime commitment. Subsequent sub-blocks build on that resulting state.

```
Sub-block 1 (Slot 1): Maker update A → Taker trade A
Sub-block 2 (Slot 1): Maker update B → Taker trade B
Sub-block 3 (Slot 1): Additional updates and trades
```

In this example, committing Flashblock 1 fixes the execution of update A and trade A. Cancelling after the trades were preconfirmed cannot remove them from the committed sequence. Update B can change prices for subsequent trades, but it cannot retroactively change trade A’s execution.

### Maker updates and cancellations

Before commitment, pending maker updates may be replaced or cancelled. The builder applies these changes when evaluating transactions for an upcoming sub-block.

After commitment, an included update cannot be withdrawn from the committed sequence. Makers can submit a new update for a later sub-block, subject to transaction validity and the applicable inclusion rules.

Commitment preserves execution history; it does not freeze the pool’s state permanently. Later updates and trades will continually change that state.

### State feeds and execution status

A streamed quote or state override provides routing information. It does not, by itself, confirm that a maker update or taker trade has executed. Likewise, a submission acknowledgement confirms receipt, not inclusion.

Execution is preconfirmed when the transaction is included in a committed Flashblock. Consumers should distinguish pending quote data from committed execution results.

### Scope of confirmation

Flashblock commitment prevents the builder from removing or reordering previously committed transactions within the realtime sequence.

This is a realtime preconfirmation. Ethereum block inclusion and consensus finality remain as separate stages, with their associated failed-inclusion and reorganization risks.


# Hoodi on chain testing (Taker/Searcher)

We have a mockETH/mockUSDT propAMM pool on **Ethereum Hoodi, chain ID 560048**. Our maker continuously updates its prices based on Binance ETH/USDT. Traders and searchers can mint the mock tokens, follow the quotes, and submit test trades to our builder.

Our pool and mock tokens

* **propAMM pool:** [`0x13Ec0De3345413d39257EDf5059E5c0Afd2697c3`](https://hoodi.etherscan.io/address/0x13Ec0De3345413d39257EDf5059E5c0Afd2697c3)
* **mockETH, 18 decimals:** [`0x0b69c1695cFf156b84219061aF1DC40Cb4Ad1C07`](https://hoodi.etherscan.io/address/0x0b69c1695cFf156b84219061aF1DC40Cb4Ad1C07)
* **mockUSDT, 6 decimals:** [`0x4A656f5078DB417b915Fe980B36566F0F1A4225a`](https://hoodi.etherscan.io/address/0x4A656f5078DB417b915Fe980B36566F0F1A4225a)

The mock tokens are freely mintable test assets. You also need native Hoodi ETH for gas; mockETH cannot pay transaction fees.

### Mint tokens

Using Foundry's `cast`, replace the wallet address below and mint **1 mockETH** and **1,000 mockUSDT**:

```bash
RPC_URL="https://ethereum-hoodi-rpc.publicnode.com"
WALLET="0xYOUR_HOODI_WALLET_ADDRESS"

# Mint 1 mockETH
cast send 0x0b69c1695cFf156b84219061aF1DC40Cb4Ad1C07 \
  'mint(address,uint256)' "$WALLET" 1000000000000000000 \
  --rpc-url "$RPC_URL" --chain 560048 --interactive --async \
  --gas-limit 100000 --gas-price 1000000000000 \
  --priority-gas-price 500000000000

# Mint 1,000 mockUSDT
cast send 0x4A656f5078DB417b915Fe980B36566F0F1A4225a \
  'mint(address,uint256)' "$WALLET" 1000000000 \
  --rpc-url "$RPC_URL" --chain 560048 --interactive --async \
  --gas-limit 100000 --gas-price 1000000000000 \
  --priority-gas-price 500000000000
```

Enter a funded Hoodi wallet's private key at the interactive prompt. The commands return transaction hashes; wait for successful receipts before trading.

### Follow maker quotes

Connect to the price stream to see active pools, token pairs, and quoted input/output amounts:

```
wss://hoodi-test.propamm.data.ethgas.com/ws/pamm_price_levels
wss://hoodi-test2.propamm.data.ethgas.com/ws/pamm_price_levels
```

Maker state updates for simulation are available on:

```
wss://hoodi-test.propamm.data.ethgas.com/ws/pamm_quote_stream
wss://hoodi-test2.propamm.data.ethgas.com/ws/pamm_quote_stream
```

Both streams push updates without a subscription message. The maker must be running for fresh quotes to appear. The HTTP quote and state API:

```
https://hoodi-test.propamm.data.ethgas.com/data
https://hoodi-test2.propamm.data.ethgas.com/data
```

### Submit a trade bundle

Approve your input token to the propAMM pool, then build a call to its swap function:

```solidity
swap(address tokenIn, address tokenOut, uint256 amountIn,
     uint256 minAmountOut, address recipient) returns (uint256 amountOut)
```

Start with **0.01 mockETH** or **10 mockUSDT** per swap. Simulate using the maker state for the target block, then sign your taker transaction for Hoodi.

Submit the signed transaction through `eth_sendBundle` to our builder:

```bash
curl https://hoodi-test.builder.ethgas.com \
  -H 'Content-Type: application/json' \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_sendBundle",
    "params": [{
      "txs": ["0xSIGNED_TAKER_TRANSACTION"],
      "blockNumber": "0xTARGET_BLOCK_NUMBER",
      "revertingTxHashes": []
    }]
  }'
```

Replace the placeholders with your signed transaction and the next target block number in hex. Our builder adds the maker update separately.&#x20;

#### For Searcher (Try arbitrage against Uniswap v4)

We also have a **Uniswap v4 pool on Hoodi using the same mockETH and mockUSDT tokens**. Searchers can compare its price with our propAMM, look for arbitrage opportunities, and submit bundles containing the required swaps to the same builder endpoint.

[**Uniswap v4 pool detail**](https://docs.ethgas.com/get-started/traders/uniswap-realtime-pools)

See the [propAMM taker API](https://docs.ethgas.com/get-started/traders-new/propamm/takers) for quote and simulation details.


# UniSwap Realtime Pools

## Trading with ETHGas on Uniswap v4

ETHGas brings dynamic swap fees to participating Uniswap v4 pools. Instead of one fixed swap fee for every swap, these pools apply a **slow swap fee** or a **fast swap fee**, depending on the block in which your trade executes.

When the fast swap fee is lower, realtime blocks offer a lower-cost window for trading. That can make smaller price opportunities and more frequent swaps worth acting on.

### Uniswap v4 pools using the ETHGas Hook

The full list of pools using the ETHGas Hook are shown here:

#### Mainnet

<table><thead><tr><th width="128.015625">Token Pair</th><th>Pool ID</th></tr></thead><tbody><tr><td>ETH / USDC</td><td><a href="https://app.uniswap.org/explore/pools/ethereum/0x2668ed8855b6cae2aaa8232ad305f8dcb30260f8d74bf2c23ea6d777139f93df">0x2668ed8855b6cae2aaa8232ad305f8dcb30260f8d74bf2c23ea6d777139f93df</a></td></tr><tr><td>GWEI / USDT</td><td><a href="https://app.uniswap.org/explore/pools/ethereum/0xF096CC2FF2FE28F8DB2A51E0B861E74140F652EC35940257000D4D5A7ED52438">0xF096CC2FF2FE28F8DB2A51E0B861E74140F652EC35940257000D4D5A7ED52438</a></td></tr></tbody></table>

Dynamic Fee Hook contract: [0xBB10bEfFCAE36fBDe7869ab3C3BE37b24cc910C4](https://etherscan.io/address/0xBB10bEfFCAE36fBDe7869ab3C3BE37b24cc910C4)

#### Hoodi

<table><thead><tr><th width="133.48828125">Token Pair</th><th>Pool ID</th></tr></thead><tbody><tr><td>mockUSDT / mockETH</td><td><code>0x50952c1a93dddc15bd1a9ee07a132e0538f6bccad23520fc24a411be7b246e2a</code></td></tr></tbody></table>

Dynamic Fee Hook contract: [0x36627855A5d9e13653B193FDf204E090BC9a10C4](https://hoodi.etherscan.io/address/0x36627855A5d9e13653B193FDf204E090BC9a10C4)

Pool Manager: [0x0D9BAf34817Fccd3b3068768E5d20542B66424A5](https://hoodi.etherscan.io/address/0x0D9BAf34817Fccd3b3068768E5d20542B66424A5)

Position Manager: [0x90aAE8e3C8dF1d226431D0C2C7feAaa775fAF86C](https://hoodi.etherscan.io/address/0x90aAE8e3C8dF1d226431D0C2C7feAaa775fAF86C)

Swap Router: [0xB61598fa7E856D43384A8fcBBAbF2Aa6aa044FfC](https://hoodi.etherscan.io/address/0xB61598fa7E856D43384A8fcBBAbF2Aa6aa044FfC)

{% hint style="info" %}
ETHGas Hook Audit Report: <https://github.com/ethgas-developer/ethgas-audit/blob/main/Sigma_Prime_ETHGas_UniswapV4_Hooks_Security_Assessment_Report_v2_final.pdf>
{% endhint %}

### How to swap

1. **Choose your trade.** Connect your wallet to a swap interface that supports ETHGas-enabled Uniswap v4 pools, then select the tokens and amount.
2. **Check the route.** Confirm that your trade uses an ETHGas-enabled pool. Choosing the same token pair alone does not guarantee that route.
3. **Review a fresh quote.** Check the expected amount received, swap fee where displayed, price impact, network cost, and slippage setting.
4. **Approve and confirm.** Approve token spending if needed, then submit your swap. The pool automatically calls the ETHGas Hook and applies the swap fee for the execution block.

You do not need to interact with the Hook separately or select a fee mode yourself.

### One pool, two swap fee rates

The ETHGas Hook chooses between two configured swap fee rates:

<table><thead><tr><th width="156.6796875">Execution block</th><th width="163.2109375">Swap fee applied</th><th>Mainnet Fee</th><th>What it means for your trade</th></tr></thead><tbody><tr><td><strong>Slow block</strong></td><td>Slow swap fee</td><td><strong>0.05%</strong></td><td>The rate used outside designated ETHGas realtime blocks.</td></tr><tr><td><strong>Realtime block</strong></td><td>Fast swap fee</td><td><strong>0.005%</strong></td><td>The rate used during designated ETHGas realtime blocks; a lower configured rate reduces the cost of your swap.</td></tr></tbody></table>

The actual fee rate can change over time and can differ by the token you sell. For example, swapping ETH for USDC may have a different swap fee from swapping USDC for ETH. Always check the quote for your actual trade direction. The fast rate is configurable, so check that it offers a discount rather than assuming it does.

#### What a lower fast swap fee can save

With the slow swap fee is **0.05%** and the fast swap fee is **0.005%**:

| Input trade value | Slow swap fee | Fast swap fee | Swap fee saving |
| ----------------- | ------------- | ------------- | --------------- |
| $1,000            | $0.50         | $0.05         | $0.45           |
| $10,000           | $5.00         | $0.50         | $4.50           |

These are illustrative rates and approximate dollar equivalents for a single swap, not a live quote. Network costs and price impact also affect the amount you receive.

### Why realtime blocks can support higher-velocity trading

Every swap has a cost. A higher swap fee means a price opportunity must be larger before a trade becomes economical. A lower fast swap fee reduces that hurdle.

For traders, this can make it more practical to:

* **Act on smaller price differences.** Less of the opportunity is consumed by the swap fee.
* **Adjust positions more frequently.** Smaller, repeated swaps incur lower swap fees when executed at the discounted rate.
* **Trade the same capital more often.** Lower costs on each trade can support greater turnover during realtime blocks.

For example, a 0.10% price difference cannot cover a 0.30% swap fee on even one leg of a trade. At a 0.005% swap fee, it leaves more room to cover the remaining costs. A trade involving multiple swaps still needs to account for every leg, network costs, price impact, and price movement.

This is the higher-velocity effect: **lower swap costs can make more trading opportunities economically viable within realtime blocks**. Actual activity still depends on liquidity, market conditions, and transaction inclusion.

### Before you confirm

* **Refresh your quote.** A swap quoted during a realtime block may execute in a slow block, and configured rates may change.
* **Compare the final amount received.** A lower swap fee alone does not guarantee the best execution price.
* **Keep your slippage limit intentional.** It limits how much worse execution can be than your quote; it does not reserve a realtime block or lock the swap fee. A swap that cannot meet your limit may revert.


# Onchain Realtime Slot Lookup

Smart contracts can query `EthgasLookahead` to check whether the current slot or a specific slot is an ETHGas realtime slot.

### Contract addresses

<table><thead><tr><th width="184.671875">Network</th><th>EthgasLookahead</th></tr></thead><tbody><tr><td>Ethereum Mainnet</td><td><a href="https://etherscan.io/address/0xdD79AEA143C4A0605963EECfae41d0ae6E619751">0xdD79AEA143C4A0605963EECfae41d0ae6E619751</a></td></tr><tr><td>Hoodi Testnet</td><td><a href="https://hoodi.etherscan.io/address/0x7bAd76D7e75e8FD199AD626a3E410Aa616E2fb2D">0x7bAd76D7e75e8FD199AD626a3E410Aa616E2fb2D</a></td></tr></tbody></table>

### Solidity integration

Use a minimal interface and pass the address for your network to the constructor:

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

interface IEthgasLookahead {
    function currentSlot() external view returns (uint256);
    function isCurrentEthgasSlot() external view returns (bool);
    function isEthgasSlot(uint256 slot) external view returns (bool);
}

contract RealtimeExample {
    IEthgasLookahead public immutable lookahead;

    constructor(address lookaheadAddress) {
        lookahead = IEthgasLookahead(lookaheadAddress);
    }

    function execute() external {
        require(lookahead.isCurrentEthgasSlot(), "Not an ETHGas slot");
        // Your realtime-slot logic here.
        // ...
    }

    function isRealtimeSlot(uint256 slot) external view returns (bool) {
        return lookahead.isEthgasSlot(slot);
    }
}
```

`isCurrentEthgasSlot()` checks the slot derived from the executing block's timestamp. Use `currentSlot()` to read that slot number, or `isEthgasSlot(slot)` to query a specific consensus slot number. Do not pass `block.number`: block numbers and slot numbers are different.

The result reflects the lookahead bitmap currently published on-chain. `true` means the slot is marked as an ETHGas realtime slot. The lookahead is updated one epoch in advance.

### Use case: lower swap fees in realtime pools

A Uniswap v4 pool can use a hook that queries `EthgasLookahead` to apply a lower swap fee during ETHGas realtime slots. When `isCurrentEthgasSlot()` returns `true`, the hook applies the pool's realtime fee; otherwise, it applies the pool's standard fee. This lets users benefit from lower swap fees when their swaps execute in realtime slots.

The fee discount is implemented by the pool's hook; querying the lookahead contract alone does not change fees. See [Uniswap Realtime Pools](https://docs.ethgas.com/get-started/traders/uniswap-realtime-pools) for more details.


# Searchers

ETHGas offers two integration paths for searchers: direct builder submission for searchers who already have orderflow, and orderflow access for searchers to discover and capture backrun opportunities.

| Your goal                                                                                                    | Integration path                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You already have orderflow or a prepared transaction bundle and want the lowest latency submission path.     | [**Builder endpoint**](https://docs.ethgas.com/get-started/searchers/builder-endpoint) - submit directly to the ETHGas builder.                                             |
| You want to receive live orderflow from wallets, identify backrun opportunities, and submit backrun bundles. | [**Orderflow** **endpoint** ](https://docs.ethgas.com/get-started/searchers/orderflow-endpoint)- subscribe to the orderflow stream and submit through the orderflow engine. |


# Builder Endpoint

<table><thead><tr><th width="181.88671875">Network</th><th>URL</th></tr></thead><tbody><tr><td>Mainnet</td><td><a href="https://realtime-rpc.ethgas.com/builder">https://realtime-rpc.ethgas.com/builder</a></td></tr><tr><td>Hoodi</td><td><a href="https://realtime-rpc.ethgas.com/hoodi/builder">https://realtime-rpc.ethgas.com/hoodi/builder</a></td></tr><tr><td>Hoodi (test nev)</td><td><a href="https://realtime-rpc.ethgas.com/hoodi/builder">https://realtime-rpc.ethgas.com/hoodi-test/builder</a></td></tr></tbody></table>

### Regional Builder Endpoint (Mainnet)

| Region                       | Mainnet                           |
| ---------------------------- | --------------------------------- |
| `us-east-1`                  | <https://us.builder.ethgas.com>   |
| `eu-central-1`               | <https://eu.builder.ethgas.com>   |
| `ap-northeast-1 (Tokyo, 1a)` | <https://ap.builder.ethgas.com>   |
| `ap-northeast-1 (Tokyo, 1d)` | <https://ap-2.builder.ethgas.com> |

### eth\_sendRawTransaction

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_sendRawTransaction”,
  "params": ["0x…"],  // Signed raw tx hex
}

```

{% endtab %}

{% tab title="Response" %}

```json
{"result":200,"error":null,"id":1}
```

{% endtab %}
{% endtabs %}

Submits a raw transaction (serialized and signed) for broadcasting to the network. The transaction data should be encoded as a hexadecimal string starting with `0x`. You can create and sign a transaction externally using libraries like [web3.js](https://web3js.readthedocs.io/) or [ethers.js](https://docs.ethers.org/).

**Note:** For [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) transactions, the raw form must be in the network format, which includes blobs, KZG commitments, and KZG proofs.

### eth\_sendBundle

Submits an ordered bundle of signed transactions to the builder through the endpoints listed above. Transactions are considered together for inclusion, subject to the optional revert and drop rules below.

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendBundle",
  "params": [
    {
      txs,                        // Array[String], Signed transactions in execution order. A new bundle must contain at least one transaction. For EIP-4844 transactions, use the network encoding, including blobs, KZG commitments, and KZG proofs. An empty array with a replacement UUID requests cancellation instead.
      blockNumber,                // (Optional) String, Target execution block number in hexadecimal. Omitted or "0x0" targets the current pending block; it does not make the bundle persist across future blocks.
      minTimestamp,               // (Optional) Number, Minimum allowed block timestamp, in seconds since the Unix epoch.
      maxTimestamp,               // (Optional) Number, Maximum allowed block timestamp, in seconds since the Unix epoch. Omitted or 0 means no upper timestamp bound.
      revertingTxHashes,          // (Optional) Array[String], Transaction hashes allowed to revert without invalidating the bundle. Defaults to an empty array. Depending on builder configuration, these transactions may also be skipped if they cannot execute.
      droppingTxHashes,           // (Optional) Array[String], Transaction hashes allowed to be omitted if they cannot execute or would revert. A reverting transaction in this list is dropped rather than included with a reverted receipt. Defaults to an empty array.
      replacementUuid,            // (Optional) String, UUID identifying a bundle that can be replaced or cancelled. Use a fresh UUID, such as a UUID v4, for each independent replacement group.
      replacementSeqNumber,       // (Optional) Number, Alias for replacementNonce. Supply only one of these two fields.
      refundPercent,              // (Optional) Number, Percentage of refundable builder profit to refund. 1 through 99 enables a refund; omitted or 0 disables it. Values of 100 or greater are rejected.
      refundRecipient,            // (Optional) String, Refund recipient address. When a refund is enabled and this field is omitted, the signer of the first transaction is used.
      refundTxHashes,             // (Optional) Array[String], Transaction hash from which refundable profit is calculated. With a refund enabled, at most one hash is supported. Omitted or empty defaults to the final transaction in the bundle.
    }
  ]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "bundleHash": "0x..."
  }
}
```

`bundleHash` is a builder-computed, `0x`-prefixed 32-byte bundle identifier. The value above is a placeholder. It is distinct from the replacement UUID and is not a transaction hash or inclusion receipt.
{% endtab %}
{% endtabs %}

`params` contains one bundle object. Transaction bytes, transaction hashes, and addresses use `0x`-prefixed hexadecimal strings. Timestamps and replacement sequence numbers use JSON numbers.

**Replacing a bundle**

Submit another `eth_sendBundle` request with the same `replacementUuid` and the updated transactions. When supplying explicit sequence numbers, increase `replacementSeqNumber` for each update. Use explicit sequence numbers consistently for a replacement group; the automatic counter is local to each RPC server, is not synchronized with caller-supplied values, and resets when the server restarts.

Replacement and cancellation are keyed by UUID alone in this implementation.

**Cancelling through `eth_sendBundle`**

An empty `txs` array with the same replacement UUID submits a cancellation command:

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "eth_sendBundle",
  "params": [
    {
      "txs": [],
      "replacementUuid": "550e8400-e29b-41d4-a716-446655440000",
      "replacementSeqNumber": 2
    }
  ]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": 200
}
```

{% endtab %}
{% endtabs %}

Use a sequence number greater than the preceding bundle update when supplying explicit sequence numbers. An empty bundle without a replacement UUID is rejected.

**Errors and acknowledgement**

Invalid parameter shapes or types produce a JSON-RPC parameter error. Bundle decoding or validation failures return error code `-32602`, message `"failed to decode bundle"`, and a `data.reason` describing the failure. Examples include an invalid signed transaction, an unsupported version, a field incompatible with `v1`, or an invalid refund percentage. If tracing is enabled for the target block, the error data can also contain `bundleHash`.

The success response is an RPC acknowledgement. Internal queue timeouts or a closed order-input channel are not propagated as RPC errors, so the response does not prove that the bundle reached the building pipeline.

### eth\_cancelBundle

Requests cancellation of a replaceable bundle by its `replacementUuid`. Use the UUID supplied when submitting the bundle, rather than the `bundleHash` returned in the response. A bundle submitted without a replacement UUID cannot be cancelled with this method.

{% tabs %}
{% tab title="Request" %}

```json
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "eth_cancelBundle",
  "params": [
    {
      replacementUuid,            // (Required) String, UUID identifying the replacement group to cancel. The uuid alias accepted by eth_sendBundle is not supported here.
    }
  ]
}
```

The request above shows the parameter schema. Replace field names with quoted JSON keys and their values, and remove comments before sending.
{% endtab %}

{% tab title="Response" %}

```json
{
  "jsonrpc": "2.0",
  "id": 3,
  "result": null
}
```

{% endtab %}
{% endtabs %}

`params` contains one cancellation object.

**Cancellation behavior**

The cancellation has no target block and is forwarded to all active block-building subscriptions. It uses the maximum unsigned 64-bit replacement sequence number (`18446744073709551615`), superseding earlier updates for the UUID. Use a new UUID for subsequent submissions after cancelling with this method. The order pool retains cancellation records for approximately 60 seconds, removing expired records when the head updates.

Cancellation can affect work still being built; it cannot undo transactions already included on chain. The `null` result does not confirm that a matching bundle existed or that cancellation completed. In this implementation, malformed cancellation parameters are logged and also return `null`, and internal queue delivery failures are not surfaced to the caller.


# Orderflow Endpoint

Searchers receive live orderflow over WebSocket and submit bundles over the same connection or HTTP.

To request a searcher account, contact us at <info@ethgas.com> and share your EOA address. Afterwards, you can refer to [here](https://docs.ethgas.com/get-started/wallets/obtain-an-api-key) for how to obtain the API key.

<table><thead><tr><th width="152.34765625">Transport</th><th>Endpoint</th></tr></thead><tbody><tr><td>WebSocket</td><td><code>wss://searcher.orderflow.ethgas.com/v1/{API_KEY}</code></td></tr><tr><td>HTTP</td><td><code>https://searcher.orderflow.ethgas.com/v1/{API_KEY}</code></td></tr></tbody></table>

## Receive orderflow

Opening the WebSocket subscribes the session automatically. A client may also send the idempotent subscription request:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": ["ethgas_partialPendingBundles"]
}
```

The params can also be `mevblocker_partialPendingBundles` or `blink_partialPendingBundles` for compatibility to other protocols.

Notifications contain an ordered array of decoded unsigned transactions. This abridged example omits some type-specific fee fields:

```json
{
  "jsonrpc": "2.0",
  "method": "eth_subscription",
  "params": {
    "subscription": "0x...",
    "result": [{
      "chainId": "0x1",
      "to": "0x...",
      "value": "0x0",
      "data": "0x...",
      "nonce": "0x1",
      "gas": "0x5208",
      "type": "0x2",
      "hash": "0x...",
      "from": "0x..."
    }]
  }
}
```

Fanout is live-only: open the WebSocket before the originator submits. Missed notifications are not replayed.

If the `result` array contains only 1 object, it is a transaction only. If it contains more than 1 object, that is a bundle. You only need to reference the hash of the last transaction in your backrun bundle.

`eth_unsubscribe` is not supported. To stop receiving orderflow, close the WebSocket connection.

## Submit a backrun

Use the last transaction hash from the notification as the first `txs` entry, followed by your signed transaction(s):

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "eth_sendBundle",
  "params": [{
    "txs": ["0x<ORIGINATOR_REFERENCE_HASH>", "0x<SIGNED_BACKRUN>"],
    "blockNumber": "0x12abcde",
    "replacementUuid": "aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee",
    "revertingTxHashes": [],
    "droppingTxHashes": []
  }]
}
```

The response returns a local `bundleHash`. The engine expands a valid originator reference server-side and adds the applicable refund fields before builder submission.

`txs` accepts 0–100 entries. An empty `txs` array is a cancellation by `replacementUuid` and behaves identically to `eth_cancelBundle`; in this case `replacementUuid` is required and no other field is permitted.

`replacementUuid` is optional for submission. When used, increase either `replacementSeqNumber` or its alias `replacementNonce`; do not send both.

`minTimestamp` is an optional unsigned Unix timestamp in seconds. It must not be later than the bundle's intake time; future values are rejected rather than queued.

## Cancel replacements

```json
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "eth_cancelBundle",
  "params": [{
    "replacementUuid": "aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee"
  }]
}
```

A successful `eth_cancelBundle` response contains the integer `200` in the JSON-RPC `result` field, over either HTTP or WebSocket:

```json
{"jsonrpc":"2.0","id":3,"result":200}
```

An empty `txs` bundle with only `replacementUuid` is also a cancellation, but its JSON-RPC result is `{"bundleHash":""}`. Both responses confirm durable cancellation admission; builder completion is asynchronous.

## Connection behavior

Respond to pings promptly. Sessions close after 24 hours and should reconnect. Authorization changes close the connection, and slow readers may be disconnected when their outbound queue fills.

More details can be found in [Orderflow API reference](https://docs.ethgas.com/get-started/orderflow-api-reference)


# Orderflow API reference

All public APIs available to originators and searchers are listed below. JSON-RPC calls use version `2.0`, a non-null string or integer `id`, and a one-element `params` array. JSON requests use `Content-Type: application/json`.

| Service                      | Mainnet                                                                    | Hoodi                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| Originator                   | [originator.orderflow.ethgas.com](https://originator.orderflow.ethgas.com) | [originator-hoodi.orderflow.ethgas.com](https://originator-hoodi.orderflow.ethgas.com) |
| Searcher                     | [searcher.orderflow.ethgas.com](https://searcher.orderflow.ethgas.com)     | [searcher-hoodi.orderflow.ethgas.com](https://searcher-hoodi.orderflow.ethgas.com)     |
| Account, Tracking and Refund | [orderflow.ethgas.com](https://orderflow.ethgas.com)                       | [hoodi.orderflow.ethgas.com](https://hoodi.orderflow.ethgas.com)                       |

## Originator APIs

### Entry points

| Transport | HTTP method | Endpoint                                               | Authentication  | Description                                                      |
| --------- | ----------- | ------------------------------------------------------ | --------------- | ---------------------------------------------------------------- |
| HTTPS     | `POST`      | `https://originator.orderflow.ethgas.com/v1`           | None            | Public endpoint for submitting originator JSON-RPC requests.     |
| HTTPS     | `POST`      | `https://originator.orderflow.ethgas.com/v1/{API_KEY}` | API key in path | Partner endpoint for authenticated originator JSON-RPC requests. |

### JSON-RPC methods

| Method                          | Parameters                          | Description                                                                            | Result                   |
| ------------------------------- | ----------------------------------- | -------------------------------------------------------------------------------------- | ------------------------ |
| `eth_sendRawTransaction`        | `["0x<SIGNED_TRANSACTION>"]`        | Submit one signed transaction as private orderflow.                                    | Transaction hash         |
| `eth_sendPrivateRawTransaction` | `["0x<SIGNED_TRANSACTION>"]`        | Alias of `eth_sendRawTransaction` for submitting one signed transaction.               | Transaction hash         |
| `eth_sendPrivateTransaction`    | `[{"tx":"0x<SIGNED_TRANSACTION>"}]` | Submit one signed transaction using an object parameter.                               | Transaction hash         |
| `eth_sendBundle`                | `[{"txs":[...], ...}]`              | Submit an ordered bundle of signed transactions with optional block and refund fields. | `{"bundleHash":"0x..."}` |

Every originator JSON-RPC method accepts the optional query `refund=<address>:<integer-percent>`. The query override takes precedence over refund fields in an originator bundle body.

## Searcher APIs

### Entry points

| Transport | HTTP method   | Endpoint                                             | Authentication  | Description                                                           |
| --------- | ------------- | ---------------------------------------------------- | --------------- | --------------------------------------------------------------------- |
| HTTPS     | `POST`        | `https://searcher.orderflow.ethgas.com/v1/{API_KEY}` | API key in path | Submit authenticated searcher JSON-RPC requests over HTTP.            |
| WebSocket | `GET` upgrade | `wss://searcher.orderflow.ethgas.com/v1/{API_KEY}`   | API key in path | Open a live orderflow stream and exchange searcher JSON-RPC messages. |

### JSON-RPC methods

| Method             | Transport          | Parameters                         | Description                                                                                                           | Result                                                         |
| ------------------ | ------------------ | ---------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `eth_subscribe`    | WebSocket          | `["ethgas_partialPendingBundles"]` | Return the ID of the automatic live orderflow subscription; calling it again is idempotent.                           | Subscription ID                                                |
| `eth_sendBundle`   | HTTPS or WebSocket | `[{"txs":[...], ...}]`             | Submit or replace a searcher bundle. An empty `txs` array with only `replacementUuid` cancels that replacement group. | `{"bundleHash":"0x..."}`; `{"bundleHash":""}` for cancellation |
| `eth_cancelBundle` | HTTPS or WebSocket | `[{"replacementUuid":"<UUID>"}]`   | Cancel the active bundles associated with a replacement UUID.                                                         | Integer `200` in the JSON-RPC `result` field                   |

Cancellation acknowledgements confirm durable intake; builder completion is asynchronous.

### WebSocket notification

| Message            | Direction          | Description                                                                           | Payload                                                                                                        |
| ------------------ | ------------------ | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `eth_subscription` | Server to searcher | Deliver live decoded unsigned originator transactions for the automatic subscription. | `params.subscription` contains the subscription ID and `params.result` contains the ordered transaction array. |

Opening the WebSocket creates the subscription automatically. Missed notifications are not replayed, and `eth_unsubscribe` is not supported.

## Account APIs

These endpoints are available to provisioned originator and searcher accounts. To request an account or an originator refund-read-only subaccount, contact us at <info@ethgas.com>.

| HTTP method | Endpoint                                                           | Authentication                    | Description                                                            |
| ----------- | ------------------------------------------------------------------ | --------------------------------- | ---------------------------------------------------------------------- |
| `GET`       | `https://orderflow.ethgas.com/v1/auth/challenge?address={address}` | None                              | Issue an EIP-712 challenge for the account address.                    |
| `POST`      | `https://orderflow.ethgas.com/v1/auth/verify`                      | EIP-712 signature in request body | Verify the signed challenge and issue or rotate the account's API key. |
| `GET`       | `https://orderflow.ethgas.com/v1/auth/account`                     | Bearer API key                    | Return the identity and capabilities associated with the API key.      |
| `POST`      | `https://orderflow.ethgas.com/v1/auth/api-keys/revoke`             | Bearer API key                    | Revoke the current API key; the request body is an empty JSON object.  |

## Tracking and refund APIs

| Audience                                        | HTTP method | Endpoint                                                   | Authentication  | Description                                                                                |
| ----------------------------------------------- | ----------- | ---------------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------ |
| Originators                                     | `GET`       | `https://orderflow.ethgas.com/v1/tx/{txHash}`              | None            | Look up the public lifecycle status of an originator transaction by hash.                  |
| Partner originators                             | `GET`       | `https://orderflow.ethgas.com/v1/{API_KEY}/tx/{txHash}`    | API key in path | Look up an owned transaction and include its private decoded body and refund policy.       |
| Originators and searchers                       | `GET`       | `https://orderflow.ethgas.com/v1/bundle?hash={bundleHash}` | None            | Look up an originator or searcher bundle's lifecycle and latest builder bundle hash.       |
| Partner originators and refund-read subaccounts | `GET`       | `https://orderflow.ethgas.com/v1/{API_KEY}/refunds`        | API key in path | List confirmed payouts and pending refund liabilities belonging to the partner originator. |


# Validators / Node Operators

Validators play a critical role in supporting realtime execution. ETHGas is designed to unambiguously earn more than MEV-Boost alone, with both minimal risk and minimal technical integration required.&#x20;

## Quick Start Guide

{% stepper %}
{% step %}

### Set up Commit-Boost

{% endstep %}

{% step %}

### Register validators to ETHGas

{% endstep %}

{% step %}

### Earn higher rewards

That's it, you're earning higher rewards! You can sit back and relax 🏖️
{% endstep %}
{% endstepper %}

{% hint style="info" %}
This guide is a simplified quick start configuration that assumes a standard validator setup. For a full technical guide with every available configuration option, check out the [repo README](https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module).
{% endhint %}

### Commit-Boost

Commit-Boost is a direct replacement for MEV-Boost and performs the same function, with the ability to add additional functionality.

Commit-Boost is a sidecar for proposers to create commitments. Validators need to run Commit-Boost, which uses a validator's BLS key to sign messages signaling their intent to register on ETHGas exchange platform and delegate to more sophisticated parties (e.g. our Pricer server) to sell preconfs.

Link: <https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module>

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F5Fv5HWbxGOMqDkzzNupa%2Fcommit%20boost.jpg?alt=media&amp;token=e01a7785-7f1a-4b92-9ac4-4bae413e6f0d" alt=""><figcaption><p>Different commit boost components</p></figcaption></figure>

The `ethgas-preconf-commit-boost-module` repo contains everything needed to setup and run Commit-Boost as well as the ETHGas module. If you are already running an existing version of Commit-Boost, you can either:

1. Use this single repo instead for simpler configuration management.
2. Or, continue using your existing version, making sure to add the configuration, `rpc_url`, ETHGas `[[relays]]`, etc.&#x20;

To get started, clone the repo:

```bash
git clone https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module.git
```

Copy `docker-compose-example.yml` as `docker-compose.yml` and make any required modifications.

```bash
cp docker-compose-example.yml docker-compose.yml
```

Create an empty `.cb.env` file and generate a new jwt for the signer module by running:

```bash
touch .cb.env
docker compose -f docker-compose.yml up cb_gen_jwt
```

Create a `config.toml` file and enter the following configuration:

```bash
touch config.toml
```

{% hint style="info" %}
This is a minimal setup and does not cover all environment types. For a comprehensive list of all available configuration options, open the `config.example.mainnet.toml` file.&#x20;
{% endhint %}

{% tabs %}
{% tab title="Mainnet" %}
{% code title="config.toml" overflow="wrap" lineNumbers="true" %}

```toml
chain = "Mainnet"

[pbs]
# Must be set to true to allow signers to work with PBS module.
with_signer = true

# Port to receive BuilderAPI calls from beacon node
# NOTE: This is the same as the default mev-boost port,
#       since this PBS module replaces the default mev-boost client 
port = 18550

# The PBS module needs one or more [[relays]] as defined below.
# The configuration options enable_timing_games, target_first_request_ms and frequency_get_header_ms are set as recommended defaults. If those default settings are not included, it may lead to reduced validator performance.
[[relays]]
id = "ethgas"
url = "https://0x88ef3061f598101ca713d556cf757763d9be93d33c3092d3ab6334a36855b6b4a4020528dd533a62d25ea6648251e62e@relay.ethgas.com"
enable_timing_games = true
target_first_request_ms = 0
frequency_get_header_ms = 100

[[relays]]
id = "ethgas-us"
url = "https://0x88ef3061f598101ca713d556cf757763d9be93d33c3092d3ab6334a36855b6b4a4020528dd533a62d25ea6648251e62e@us-relay.ethgas.com"
enable_timing_games = true
target_first_request_ms = 0
frequency_get_header_ms = 100

[[relays]]
id = "ethgas-eu"
url = "https://0x88ef3061f598101ca713d556cf757763d9be93d33c3092d3ab6334a36855b6b4a4020528dd533a62d25ea6648251e62e@eu-relay.ethgas.com"
enable_timing_games = true
target_first_request_ms = 0
frequency_get_header_ms = 100

[[relays]]
id = "ethgas-ap"
url = "https://0x88ef3061f598101ca713d556cf757763d9be93d33c3092d3ab6334a36855b6b4a4020528dd533a62d25ea6648251e62e@ap-relay.ethgas.com"
enable_timing_games = true
target_first_request_ms = 0
frequency_get_header_ms = 100

[signer]
port = 20000
```

{% endcode %}
{% endtab %}

{% tab title="Hoodi" %}
{% code title="config.toml" overflow="wrap" lineNumbers="true" %}

```toml
chain = "Hoodi"

[pbs]
# Must be set to true to allow signers to work with PBS module.
with_signer = true

# Port to receive BuilderAPI calls from beacon node
# NOTE: This is the same as the default mev-boost port,
#       since this PBS module replaces the default mev-boost client 
port = 18550

# Execution Layer RPC url to use for extra validation
# REQUIRED. Can be set to any accessible RPC.
rpc_url = "https://ethereum-hoodi-rpc.publicnode.com"

# The PBS module needs one or more [[relays]] as defined below.
# The configuration options enable_timing_games, target_first_request_ms and frequency_get_header_ms are set as recommended defaults. If those default settings are not included, it may lead to reduced validator performance.
[[relays]]
id = "ethgas"
url = "https://0xb20c3fe59db9c3655088839ef3d972878d182eb745afd8abb1dd2abf6c14f93cd5934ed4446a5fe1ba039e2bc0cf1011@hoodi-relay.ethgas.com"
enable_timing_games = true
target_first_request_ms = 0
frequency_get_header_ms = 100

[signer]
docker_image = "ghcr.io/commit-boost/signer:latest"
port = 20000
```

{% endcode %}
{% endtab %}
{% endtabs %}

### Signers

This section continues the configuration of the `config.toml` file for the signer modules. Select the signer that you are using add the configuration below the `[signer]` section in your `config.toml` file

#### Local Signers (link to CB docs)

<details>

<summary>Lighthouse</summary>

**File structure:**

```
├── keys
│   ├── <PUBLIC_KEY_1>
│   │   └── voting-keystore.json
│   └── <PUBLIC_KEY_2>
│       └── voting-keystore.json
└── secrets
    ├── <PUBLIC_KEY_1>
    └── <PUBLIC_KEY_2>
```

**Config:**

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.local.loader]
format = "lighthouse"
keys_path = "keys"
secrets_path = "secrets"
```

{% endcode %}

</details>

<details>

<summary>Prysm</summary>

**File structure:**

```
├── wallet
│   └── direct
│       └── accounts
│           └──all-accounts.keystore.json
└── secrets
    └── password.txt
```

**Config:**

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.local.loader]
format = "prysm"
keys_path = "wallet/direct/accounts/all-accounts.keystore.json"
secrets_path = "secrets/password.txt"
```

{% endcode %}

</details>

<details>

<summary>Teku</summary>

**File structure:**

```
├── keys
│   ├── <PUBLIC_KEY_1>.json
│   └── <PUBLIC_KEY_2>.json
└── secrets
    ├── <PUBLIC_KEY_1>.txt
    └── <PUBLIC_KEY_2>.txt
```

**Config:**

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.local.loader]
format = "teku"
keys_path = "keys"
secrets_path = "secrets"
```

{% endcode %}

</details>

<details>

<summary>Lodestar</summary>

**File structure:**

```
├── keys
│   ├── <PUBLIC_KEY_1>.json
│   └── <PUBLIC_KEY_2>.json
└── secrets
    └── password.txt
```

**Config:**

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.local.loader]
format = "lodestar"
keys_path = "keys"
secrets_path = "secrets/password.txt"
```

{% endcode %}

{% hint style="info" %}
All keys have the same password stored in `secrets/password.txt`
{% endhint %}

</details>

<details>

<summary>Nimbus</summary>

**File structure:**

```
├── keys
│   ├── <PUBLIC_KEY_1>
│   │   └── keystore.json
│   └── <PUBLIC_KEY_2>
│       └── keystore.json
└── secrets
    ├── <PUBLIC_KEY_1>
    └── <PUBLIC_KEY_2>
```

**Config:**

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.local.loader]
format = "nimbus"
keys_path = "keys"
secrets_path = "secrets"
```

{% endcode %}

</details>

#### Remote Signers

<details>

<summary>Web3Signer</summary>

Web3Signer implements the same API as Commit-Boost, so there's no need to set up a Signer module. The parameters needed for the remote signer are:

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.remote]
# URL of the Web3Signer instance
url = "https://remote.signer.url"
```

{% endcode %}

</details>

<details>

<summary>Dirk</summary>

Dirk is a distributed key management system that can be used to sign transactions. In this case the Signer module is needed as an intermediary between the modules and Dirk. The following parameters are needed:

{% code title="config.toml" lineNumbers="true" %}

```toml
[signer.dirk]
# Path to the client certificate to authenticate with Dirk
cert_path = "/path/to/client.crt"
# Path to the client key
key_path = "/path/to/client.key"
# Path to the secrets directory where the accounts passwords are stored
secrets_path = "/path/to/secrets"
# Path to the CA certificate that signed the Dirk server certificate
# OPTIONAL
ca_cert_path = "/path/to/ca.crt"

# Add one entry like this for each Dirk host
[[signer.dirk.hosts]]
# Domain name of the server to use in TLS verification, if different from the URL
# OPTIONAL
server_name = "localhost-1"
# Complete URL of a Dirk gateway
url = "https://localhost:8881"
# Wallets to load consensus keys from
accounts = ["Wallet1", "DistributedWallet"]

[[signer.dirk.hosts]]
server_name = "localhost-2"
url = "https://localhost:8882"
accounts = ["Wallet2", "DistributedWallet"]
```

{% endcode %}

* `cert_path` and `key_path` are the paths to the client certificate and key used to authenticate with Dirk.
* `wallets` is a list of wallets from which the Signer module will load all accounts as consensus keys. Generated proxy keys will have format `<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>`, so accounts found with that pattern will be ignored.
* `secrets_path` is the path to the folder containing the passwords of the generated proxy accounts, which will be stored in `<secrets_path>/<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>.pass`.

{% code title="config.mainnet.toml" lineNumbers="true" %}

```toml
# Configuration for how the Signer module should store proxy delegations.
# OPTIONAL
[signer.dirk.store]
proxy_dir = "/path/to/proxies"
```

{% endcode %}

Delegation signatures will be stored in files with the format `<proxy_dir>/delegations/<MODULE_ID>/<PROXY_KEY>.sig`.

A full example of a config file with Dirk can be found [here](https://github.com/Commit-Boost/commit-boost-client/blob/main/examples/configs/dirk_signer.toml).

</details>

### ETHGas Module

The ETHGas module is run each time you want to update your ETHGas account configuration. This includes actions like:

* Registering and deregistering validators.
* Updating your entity name, etc.

{% tabs %}
{% tab title="Mainnet" %}
{% code title="config.toml" lineNumbers="true" %}

```toml
[[modules]]
id = "ETHGAS_COMMIT"
type = "commit"
env_file = ".cb.env"

# Default Settings
docker_image = "ghcr.io/ethgas-developer/commitboost_ethgas_commit:latest"
exchange_api_base = "https://mainnet.app.ethgas.com"

# Custom Settings
entity_name = "..." # my_amazing_team
enable_registration = true # false deregisters all, true registers all
registration_mode = "standard" # standard, standard-mux, ssv, obol, skipped
enable_ofac = true

# Specify either eoa_signing_key or access_jwt & refresh_jwt depending on is_jwt_provided boolean value
# Alternatively, you can set EOA_SIGNING_KEY or ACCESS_JWT & REFRESH_JWT in .cb.env as env variables

# This EOA is just your ETHGas account private key, it can be a clean, new address, not related to your validator
eoa_signing_key = "0x..." # for registration in exchange, required if is_jwt_provided = false

is_jwt_provided = false
access_jwt = "xxx.xxx.xxx" # required if is_jwt_provided = true
refresh_jwt = "xxx.xxx.xxx" # required if is_jwt_provided = true
```

{% endcode %}
{% endtab %}

{% tab title="Hoodi" %}
{% code title="config.toml" lineNumbers="true" %}

```toml
[[modules]]
id = "ETHGAS_COMMIT"
type = "commit"
env_file = ".cb.env"

# Default Settings
docker_image = "ghcr.io/ethgas-developer/commitboost_ethgas_commit:latest"
exchange_api_base = "https://hoodi.app.ethgas.com"

# Custom Settings
entity_name = "..." # my_amazing_team
enable_registration = true # false deregisters all, true registers all
registration_mode = "standard" # standard, standard-mux, ssv, obol, skipped
enable_ofac = true

# Specify either eoa_signing_key or access_jwt & refresh_jwt depending on is_jwt_provided boolean value
# Alternatively, you can set EOA_SIGNING_KEY or ACCESS_JWT & REFRESH_JWT in .cb.env as env variables

# This EOA is just your ETHGas account private key, it can be a clean, new address, not related to your validator
eoa_signing_key = "0x..." # for registration in exchange, required if is_jwt_provided = false

is_jwt_provided = false
access_jwt = "xxx.xxx.xxx" # required if is_jwt_provided = true
refresh_jwt = "xxx.xxx.xxx" # required if is_jwt_provided = true
```

{% endcode %}
{% endtab %}
{% endtabs %}

### Metrics and Logs (Optional)

<details>

<summary>Optional metrics and logs configuration</summary>

{% code title="config.toml" lineNumbers="true" %}

```toml
# Configuration for how metrics should be collected and scraped
# OPTIONAL, skip metrics collection if missing
[metrics]
# Whether to collect metrics
# OPTIONAL, DEFAULT: true
enabled = true
# Host to listen on for metrics
# OPTIONAL, DEFAULT: 127.0.0.1
host = "127.0.0.1"
# Services will listen for Prometheus scrapes on this port, port + 1, +2, etc.
# OPTIONAL, DEFAULT: 10000
start_port = 10000

# Configuration stdout logs
# OPTIONAL, DEFAULT: enabled
[logs.stdout]
# Whether to enable stdout logging
# OPTIONAL, DEFAULT: true
enabled = true
# Log level. Supported values: trace, debug, info, warn, error
# OPTIONAL, DEFAULT: info
level = "info"
# Log in JSON format
# OPTIONAL, DEFAULT: false
use_json = false
# Whether to enable ANSI color codes
# OPTIONAL, DEFAULT: true
color = true

# Configuration file logs
# OPTIONAL, DEFAULT: disabled
[logs.file]
# Whether to enable file logging
# OPTIONAL, DEFAULT: false
enabled = true
# Log level. Supported values: trace, debug, info, warn, error
# OPTIONAL, DEFAULT: info
level = "debug"
# Log in JSON format
# OPTIONAL, DEFAULT: true
use_json = true
# Path to the log directory
# OPTIONAL, DEFAULT: /var/logs/commit-boost
dir_path = "./logs"
# Maximum number of log files to keep
# OPTIONAL
max_files = 30
```

{% endcode %}

</details>

### Start the Signer module

{% hint style="info" %}
For **DVT validators** or **remote signer**, you don't need to run this module.
{% endhint %}

For registration of non-DVT validators, run:

```bash
docker compose -f docker-compose.yml up cb_signer
```

✅ If your signer starts successfully, you should see the log similar to:

{% code overflow="wrap" %}

```
INFO Starting signing service version="0.8.0" commit_hash="f51f5bd61831fde943057b29ffd6e26e7eb23765" modules=["ETHGAS_COMMIT"] endpoint=0.0.0.0:20000 loaded_consensus=100 loaded_proxies=0
```

{% endcode %}

&#x20;where `loaded_consensus` indicates the total number of loaded keys.

### Start the ETHGas Commit module

You are advised to run this module at or after the 2nd slot of the current epoch, so you can have more time to configure the PBS module.

This module only needs to be run whenever you modify the configuration of this module, e.g. when you want to register or deregister a validator to the ETHGas Exchange, or to change account configuration settings, etc. Think of running this module as `"Update my config and sync with ETHGas"`.

To register the validators to the ETHGas Exchange, run:

```bash
docker compose -f docker-compose.yml up cb_ethgas_commit
```

✅  If all goes well, you will see the log:

{% code overflow="wrap" %}

```
INFO successful registration, you can now sell preconfs on ETHGas! or INFO successful registration, the default pricer can now sell preconfs on ETHGas on behalf of you!
```

{% endcode %}

❌ If the module encounters `ConnectionRefused` error when it tries to connect to `http://cb_signer:20000/signer/v1/get_pubkeys`, please wait for 20 minutes to retry.

### Start the PBS module

Start the PBS module by running:

```bash
docker compose -f docker-compose.yml up cb_pbs
```

The default port used by the PBS module is the same default port as MEV-Boost. If you had previously configured a custom port for MEV-Boost, make sure you have configured that on the PBS module.

✅ If all goes well, you will see the log:

{% code overflow="wrap" %}

```
DEBUG register_validators{req_id=...}:handler{relay_id="ethgas"}: registration successful code=200 latency=...ms
```

{% endcode %}

Once the ETHGas Commit module has completed the registration process and right before the start of the next epoch, stop your existing MEV-Boost client, restart the beacon node with new builder endpoint (if the port is different), and immediately start the PBS module.

To hot reload the config without restarting the module, run:

```bash
docker compose -f docker-compose.yml exec cb_pbs curl -X POST http://localhost:18550/reload
```

✅ You will see the log `INFO : config reload successful` if the config reloads successfully.&#x20;

Refer [here](https://commit-boost.github.io/commit-boost-client/get_started/configuration/#hot-reload) for more details about hot reloading.

***

### ⭐️ You're Realtime Ready ⭐️

Now your validators are registered to ETHGas and you're connected to the ETHGas relay, that's it! You're ready to propose Realtime blocks when the market is open.

### Reference

More details can be found in the [API documentation](https://developers.ethgas.com/#welcome)


# ETHGas Relay

{% hint style="info" %}
The ETHGas Relay is OFAC-compliant by default.
{% endhint %}

### **The ETHGas Relay**

Relays serves as a trusted intermediary between validators and builders. In the standard PBS flow, builders constantly submit blocks to the Relay. Validators then retrieve the most profitable block header without the body from the Relay and then submit the signed header back to the Relay in return for the release of the block body containing the transactions.

ETHGas' preconf flow is quite similar to the PBS flow, with the addition that the Relay may perform an extra set of checks on blocks submitted by the builders to ensure all preconf transactions of the specific slot are included. Validators have to connect to our relay or other authorized Relays to receive the block headers, otherwise Validators may end up signing a header without honoring all preconf commitments thus resulting in slashing.&#x20;

Currently, our relay runs within an **Optimistic Mode**, that enables blocks to propagate without simulation.&#x20;

Our relay is currently based on the [mev-boost-relay](https://github.com/flashbots/mev-boost-relay) developed by Flashbots.

### **Other Authorized Relays**

To produce Realtime blocks validators must source blocks **only** from the ETHGas relay as it is the only relay equipped to verify the blockspace commitments. ETHGas is in discussions with other Relays, however, to stream the commitments and assist with block propagation. More on this soon.


# Audit Reports

Our collateral contract (EthgasPool) has been audited by Sigma Prime and Node Security.

Our Commit Boost module has been audited by Sigma Prime.

Link: <https://github.com/ethgas-developer/ethgas-audit>


# Open Gas

Eliminate Gas Fees. Drive Onchain Adoption.

{% hint style="info" %}
September 2026 marked the end of the final Open Gas rebate cycle.
{% endhint %}

### Overview

[Open Gas](https://www.ethgas.com/open-gas/) is an industry-wide initiative led by ETHGas to **eliminate gas fees** from the end-user experience and make interacting with Ethereum seamless.

Through Open Gas, participating protocols sponsor gas rebates for **specific on-chain actions** such as deposits, staking, or liquidity provision. Users can accumulate rebates across multiple protocols and claim them in a single dashboard.

* For users, this reduces the friction of interacting with DeFi.
* For protocols, it turns gas from a barrier into a powerful incentive for growth.

**Gas rebates are aggregated monthly** and **paid in ETH on Ethereum mainnet**, with support for additional chains such as BNB Chain and Base coming soon.

Open Gas is launching with a group of leading Ethereum protocols that are sponsoring gas rebates for their users.

**Launch partners include:**

* [EigenCloud](https://docs.ethgas.com/program/open-gas/eigencloud)
* [Ether.fi](https://docs.ethgas.com/program/open-gas/ether.fi)
* [ETHGas Foundation](https://docs.ethgas.com/program/open-gas/ethgas-foundation)
* [Pendle](https://docs.ethgas.com/program/open-gas/pendle)
* [f(x) Protocol](https://docs.ethgas.com/program/open-gas/f-x-protocol)

*Click the individual protocol page to view their rebate details.*

***

### How Open Gas Works

**Open Gas works like a monthly cashback program for gas fees.**

1. Explore participating protocols and the actions eligible for gas rebates.
2. Interact with those protocols on Ethereum (e.g. deposit, stake, or delegate).
3. ETHGas tracks eligible transactions across all partner protocols.
4. On the next claim cycle, users can batch-claim their gas rebates in one gasless transaction.
5. Withdraw claimed rebates to your wallet.

This allows users to interact with multiple protocols while earning back a portion of the gas they spent.<br>

***

### Benefits for DeFi Users

**Lower the cost of participating in DeFi.**

Open Gas rewards users for interacting with protocols by returning a portion of the gas spent on eligible actions.

Key benefits:

* Earn ETH gas rebates from multiple protocols
* Batch-claim rewards in a single gasless transaction
* Discover new DeFi opportunities through participating protocols
* Reduce the friction of interacting on Ethereum

Gas rebates accumulate across protocols and can be claimed from the Open Gas dashboard.\
\
**Claim Your Gas Rebates**

If you’ve interacted with a participating protocol, you may already have rebates waiting to be claimed.

Check your eligibility and claim your rewards from the Open Gas dashboard.

<a href="https://www.ethgas.com/open-gas/claim" class="button primary">Claim Rebates</a>

***

### Benefits for Protocol Partners

**Turn gas fees into a growth engine.**

Gas costs are one of the biggest sources of friction for new users entering DeFi. Open Gas allows protocols to subsidize specific user actions and make their onboarding experience more attractive.

With Open Gas, protocols can:

* Incentivize specific actions such as deposits or liquidity provision
* Attract new users through gas rebates
* Improve user retention and activity
* Gain visibility through the Open Gas partner ecosystem

ETHGas handles the infrastructure including rebate tracking, dashboards, and claims — allowing protocols to participate with **zero technical integration required**.\
\
**Design Your Gas Rebates**

Protocols can easily launch a gas rebate program using ETHGas’s self-service estimator.

Simply input your protocol’s contract addresses to analyze user activity and identify which contract functions you would like to subsidize.

From there you can design a rebate structure aligned with your growth goals, such as encouraging users to:

* deposit assets
* add liquidity
* stake or delegate
* interact with specific pools

ETHGas will automatically track eligible transactions and distribute rebates to users.


# EigenCloud

Open Gas Rebate Details for EigenCloud

#### What is EigenCloud?

EigenCloud is the world’s first verifiable cloud, enabling developers to build applications, AI products, and AI agents that are provably trustworthy. Built on top of the EigenLayer restaking protocol, EigenCloud extends Ethereum’s security across the digital and even physical world, allowing developers to verify any input, event, or computation using cryptoeconomic guarantees.

#### What Actions Qualify for Gas Rebates?

Open Gas rebates gas fees for two core EigenLayer actions: depositing assets into restaking strategies and delegating to an operator.

Click [here](https://docs.eigencloud.xyz/eigenlayer/restakers/concepts/overview) for more information on staking overview.

**Eligible Contracts & Functions for Feb & Mar 2026:**

<table data-header-hidden><thead><tr><th></th><th></th><th width="178.55859375"></th><th width="163.76171875"></th><th width="160.34765625"></th></tr></thead><tbody><tr><td><strong>Contract</strong></td><td><strong>Address</strong></td><td><strong>Function</strong></td><td><strong>What it does</strong></td><td><strong>Where to access</strong></td></tr><tr><td>StrategyManager</td><td><p>0x858646372CC42E1A627fcE94aa7A7033e7CF075A</p><p><br></p></td><td><ul><li>depositIntoStrategy</li></ul></td><td>Deposit LSTs (e.g. stETH, rETH) into an EigenLayer restaking strategy</td><td><a href="https://app.eigenlayer.xyz/token">https://app.eigenlayer.xyz/token</a> </td></tr><tr><td>DelegationManager</td><td>0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A</td><td><ul><li>delegateTo</li></ul></td><td>Delegate your restaked assets to an EigenLayer operator to earn rewards</td><td><a href="https://app.eigenlayer.xyz/token">https://app.eigenlayer.xyz/token</a> </td></tr></tbody></table>

**How to Claim Your Rebate:**

Head to the [Open Gas Claim Dashboard](https://ethgas.com/open-gas/claim) → Connect your wallet → Claim your ETH gas rebate.

<br>


# Ether.fi

Open Gas Rebate Details for ether.fi

#### What is Ether.fi?

ether.fi is a non-custodial liquid staking and restaking protocol that lets users stake ETH and receive liquid tokens like eETH and weETH. Its restaking layer integrates directly with EigenLayer, allowing users to compound staking and restaking rewards while keeping control of their validator keys.

#### What Actions Qualify for Gas Rebates?

Open Gas rebates gas fees for users who&#x20;

* deposit ETH or stETH into Ether.fi's liquid restaking contracts to receive weETH
* deposit into Ether.fi's liquid ETH Yield vault

eETH is ether.fi’s flagship Ethereum-backed liquid restaking token for native staking and multichain bridging, designed to simplify yield optimization and expand DeFi utility.

Click [here](https://etherfi.gitbook.io/etherfi/staking/eeth) to learn more about the benefits of holding eETH/weETH.

**Eligible Contracts & Functions Feb & Mar 2026:**&#x20;

<table data-header-hidden><thead><tr><th></th><th></th><th width="173.7578125"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Contract</strong></td><td><strong>Address</strong></td><td><strong>Function</strong></td><td><strong>Description</strong></td><td><strong>Where to access</strong></td></tr><tr><td>DepositAdapter</td><td>0xcfC6d9Bd7411962Bfe7145451A7EF71A24b6A7A2</td><td><ul><li>depositETHForWeETH</li><li>depositStETHForWeETHWithPermit</li></ul></td><td>Deposit ETH/stETH to receive weETH</td><td><a href="https://www.ether.fi/app/weeth">https://www.ether.fi/app/weeth</a> </td></tr><tr><td>LayerZeroTellerWithRateLimiting</td><td>0x9AA79C84b79816ab920bBcE20f8f74557B514734</td><td><ul><li>deposit</li></ul></td><td>Deposit into Liquid ETH Yield</td><td><a href="https://www.ether.fi/app/cash/earn/liquid/eth-yield ">https://www.ether.fi/app/cash/earn/liquid/eth-yield </a></td></tr></tbody></table>

**How to Claim Your Rebate**\
Head to the[ Open Gas Claim Dashboard](https://ethgas.com/open-gas/claim) → Connect your wallet → Claim your ETH gas rebate.

<br>


# ETHGas Foundation

Open Gas Rebate Details for ETHGas Foundation

{% hint style="warning" %}
This campaign ended on September 30, 2026. Staking, increasing or extending a stake after this date does not earn Open Gas rebates.
{% endhint %}

#### What is ETHGas Foundation?

ETHGas Foundation empowers the Ethereum community to govern and grow the real-time blockspace economy. By staking $GWEI, holders receive veGWEI (Vote-Escrowed GWEI) — granting governance power to propose and vote on critical ecosystem parameters, treasury allocations, and protocol direction. veGWEI holders are the long-term architects of Realtime Ethereum, anchoring the protocol's mission to eliminate gas friction for all users.

#### What Actions Qualify for Gas Rebates?

Open Gas rebates gas fees for users who

* stake $GWEI to receive veGWEI and participate in protocol governance
* increase stake on an existing veGWEI position
* extend the term of an active $GWEI stake
* enable auto-claim & stake to automatically compound staking rewards

To qualify, a **minimum stake of 1,000 $GWEI** **and a lock term of at least 1 month** are required.

Click [here](https://docs.ethgas.com/foundation/staking-and-vegwei) to learn more about staking $GWEI and how veGWEI works.

**Eligible Contracts & Functions:**

<table><thead><tr><th width="115.87890625">Contract</th><th width="121.07421875">Address</th><th width="182.453125">Function</th><th width="227.04296875">Description</th><th width="162.73046875">Where to access</th></tr></thead><tbody><tr><td>Voting Escrow</td><td>0x13aB49189EBC2287E941a82D9Af154130f96Eb21</td><td><ul><li>create_lock</li><li>increase_amount</li><li>increase_unlock_time</li></ul></td><td><ul><li><p>Stake $GWEI, increase stake, or extend staking term</p><ul><li><strong>Minimum stake of 1,000 $GWEI</strong> and a lock term of <strong>at least 1 month</strong> are required.</li></ul></li></ul></td><td><a href="https://app.ethgas.com">https://ethgasfoundation.org/staking/</a></td></tr><tr><td>Staking Reward Distribution</td><td>0x2Bd8849CCdf22B53eE10C83529B9863Ff9af2c71</td><td><ul><li>claim_and_stake</li><li>set_auto_claim</li></ul></td><td><ul><li><p>Claim &#x26; stake your TGE Airdrop </p><ul><li><strong>Minimum stake of 1,000 $GWEI</strong></li></ul></li></ul><p></p><ul><li>Enable auto-claim &#x26; stake for your position</li></ul></td><td><a href="https://ethgasfoundation.org/staking/">https://ethgasfoundation.org/staking/</a></td></tr></tbody></table>

#### How to Claim Your Rebate

Head to the [Open Gas Claim Dashboard](https://www.ethgas.com/open-gas/claim/) → Connect your wallet → Claim your ETH gas rebate.


# Pendle

Open Gas Rebate Details for Pendle

#### What is Pendle?

Pendle enables users to tokenize yield by splitting yield-bearing assets into principal and yield components, allowing them to fix rates, speculate on yield, or provide liquidity to time-decaying markets. Its custom AMM is purpose-built for yield assets, supporting sophisticated strategies that go far beyond simple swaps or passive farming.

#### What Actions Qualify for Gas Rebates?

Open Gas rebates gas fees for users who add liquidity to Pendle's asset pools. Providing liquidity on Pendle can be as simple as just a one-click transaction, allowing you to swap any assets you hold (e.g. USDC) into Pendle LP positions (e.g. Pendle LP-stETH). Similarly, you can even use other Pendle assets like PT or YT to deposit into a Pendle LP.

Click [here](https://docs.pendle.finance/pendle-academy/optimizing-yields-with-pendle/chapter-3.2-more-yield-via-liquidity-provision#how-to-start-earning) for more information on how to start earning with Pendle pools.

**Eligible Contracts & Functions Feb & Mar 2026:**

| **Contract**   | **Address**                                | **Function**                   | **Description**               | **Where to access**                                      |
| -------------- | ------------------------------------------ | ------------------------------ | ----------------------------- | -------------------------------------------------------- |
| PendleRouterV4 | 0x888888888889758F76e7103c6CbF23ABbF58F946 | <ul><li>addLiquidity</li></ul> | Add liquidity to Pendle pools | <https://app.pendle.finance/trade/pools?chains=ethereum> |

**How to Claim Your Rebate:**\
Head to the [Open Gas Claim Dashboard](https://ethgas.com/open-gas/claim) → Connect your wallet → Claim your ETH gas rebate.


# f(x) Protocol

Open Gas Rebate Details for f(x) Protocol

#### What is f(x) Protocol?

f(x) Protocol is a decentralized system that enables users to mint a fully collateralized stable asset, fxUSD, and gain leveraged long or short exposure to ETH and WBTC through structured onchain positions.&#x20;

#### What Actions Qualify for Gas Rebates?

Open Gas rebates gas fees for users who deposit assets or stake within f(x) Protocol's core pools and savings product.

Click [here](https://fxprotocol.gitbook.io/fx-docs/f-x-protocol-mechanisms/key-functions-of-f-x) for more information on f(x) protocol’s product mechanisms.

**Eligible Contracts & Functions for Feb & Mar 2026:**

<table data-header-hidden><thead><tr><th></th><th></th><th width="109.1328125"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Contract</strong></td><td><strong>Address</strong></td><td><strong>Function</strong></td><td><strong>What it does</strong></td><td><strong>Where to access</strong></td></tr><tr><td>AaveFundingPoolETH Pool</td><td>0x6Ecfa38FeE8a5277B91eFdA204c235814F0122E8</td><td><ul><li>deposit</li></ul></td><td>Deposit ETH into the Aave-funded ETH pool to earn yield</td><td><a href="https://fx.aladdin.club/v2/trade">https://fx.aladdin.club/v2/trade</a> </td></tr><tr><td>wBTC Pool</td><td>0xAB709e26Fa6B0A30c119D8c55B887DeD24952473</td><td><ul><li>deposit</li></ul></td><td>Deposit wBTC into the f(x) wBTC pool</td><td><a href="https://fx.aladdin.club/v2/trade">https://fx.aladdin.club/v2/trade</a> </td></tr><tr><td>Short wstETH Pool</td><td>0x25707b9e6690B52C60aE6744d711cf9C1dFC1876</td><td><ul><li>deposit</li></ul></td><td>Deposit into the short wstETH leveraged pool</td><td><a href="https://fx.aladdin.club/v2/trade">https://fx.aladdin.club/v2/trade</a> </td></tr><tr><td>Short wBTC Pool</td><td>0xA0cC8162c523998856D59065fAa254F87D20A5b0</td><td><ul><li>deposit</li></ul></td><td>Deposit into the short wBTC leveraged pool</td><td><a href="https://fx.aladdin.club/v2/trade">https://fx.aladdin.club/v2/trade</a> </td></tr><tr><td>fxUSD Base Pool Gauge</td><td><p>0xEd92dDe3214c24Ae04F5f96927E3bE8f8DbC3289</p><p><br></p></td><td><ul><li>deposit</li></ul></td><td>Stake LP tokens into the fxUSD base pool gauge to earn FXN rewards</td><td><a href="https://fx.aladdin.club/v2/earn">https://fx.aladdin.club/v2/earn</a> </td></tr><tr><td>fxUSD Base Pool FXN</td><td>0x215D87bd3c7482E2348338815E059DE07Daf798A</td><td><ul><li>deposit</li></ul></td><td>Deposit into the fxUSD FXN rewards pool</td><td><a href="https://fx.aladdin.club/v2/earnhttps://fx.aladdin.club/v2/earn">https://fx.aladdin.club/v2/earn</a></td></tr><tr><td>FxUSDBasePool</td><td>0x65C9A641afCEB9C0E6034e558A319488FA0FA3be</td><td><ul><li>mint / deposit</li></ul></td><td>Mint fxUSD or deposit into the base stable pool</td><td><a href="https://fx.aladdin.club/v2/fxmint">https://fx.aladdin.club/v2/fxmint</a> </td></tr><tr><td>fxSAVE</td><td>0x7743e50F534a7f9F1791DdE7dCD89F7783Eefc39</td><td><ul><li>deposit</li></ul></td><td>Deposit USDC or fxUSD into fxSAVE to earn passive yield</td><td><a href="https://fx.aladdin.club/v2/fxsave">https://fx.aladdin.club/v2/fxsave</a> </td></tr></tbody></table>

**How to Claim Your Rebate**\
Head to the[ Open Gas Claim Dashboard](https://ethgas.com/open-gas/claim) → Connect your wallet → Claim your ETH gas rebate.

<br>


# Community (Beans & Quests)

Welcome to the Gasless Future!

Welcome, adventurer! You’ve arrived at the Community Hub.&#x20;

### Join Gassy Jack on a Mission to a Gasless Future

Every great adventure has a story. This is ours.

{% tabs %}
{% tab title="Welcome to Season 2" %}
Gassy Jack has left the atmosphere piloting the Open Gas Starship. Join Captain Jack on his interstellar journey in the Gasless Galaxy to liberate the Gassy Planets while claiming rebates from our partner protocols.

Your adventure begins now.

Are you ready? #LFGGasless

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Fz2kbu3csQGxDy2k0CqAp%2Fcaptainjack.png?alt=media&amp;token=cdcceac5-1952-4684-87fe-c29a37a2fe9f" alt="" width="145"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Chapter 1" %}
**The First Fleet - First Rebate**\
Captain Jack has assembled the First Fleet to tackle the Gas Giants—massive planets choked by toxic fees. The Pilot Partners have deployed their scrubbers. Dock your wallet, claim your relief, and help us clear the smog.
{% endtab %}
{% endtabs %}

## **Community FAQ**

Got questions? We've got answers.

<a href="#general" class="button secondary">General</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests#onboarding" class="button secondary">Onboarding</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests#beans-and-quests" class="button secondary">Beans & Quests</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests#wallet-connection" class="button secondary">Wallet Connection</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests#s2ch1-first-rebate" class="button secondary">S2CH1: First Rebate</a>

<a href="https://docs.ethgas.com/program/community-beans-and-quests#referral" class="button secondary">Referral</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests#technical-and-support" class="button secondary">Technical & Support</a>

### General

<details>

<summary>What is the Gasless Future initiative?</summary>

The Gasless Future is more than a campaign—it's our shared mission. We believe DeFi should be accessible to everyone, without the pain and complexity of high gas fees.

This initiative is our community's rally to make that vision a reality.

Led by our mascot, Gassy Jack, this chapter-based adventure invites you to become a founding builder of the ETHGas ecosystem. By completing quests on his journey, you're not just earning Beans for future rewards; you are helping lay the groundwork for a world where transacting on-chain is simple and affordable.

You are a pioneer on the quest to build the **#GaslessFuture**.

</details>

<details>

<summary>Who is Gassy Jack?</summary>

Gassy Jack is our friendly donkey mascot! He represents all of us DeFi users who have felt the pain of high gas fees. His journey to escape the toxic, high-gas world is our journey.

</details>

<details>

<summary>What is the goal of this initiative?</summary>

The goal is twofold:

* To find and reward the founding members of the ETHGas community (that's you!).
* To collectively build a "Gasless Future" by launching the core community products that will power the ETHGas ecosystem.

</details>

### Onboarding

<details>

<summary>How do I join the Gassy Jack adventure and start earning Beans?</summary>

Simple! Visit our onboarding page at <https://www.ethgas.com/community/onboarding/>

* **Step 1: Connect your X (Twitter) account**. This is how we'll verify your participation and track your rewards on the mission to a gasless future.
* **Step 2: Authorize ETHGas Official.** We will never post without your permission.
* **Step 3: \[Optional] Input your referral code and click \[Confirm] to validate it.** If you are using a referral link, the referral code will be auto-confirmed.
* **Step 4: Click \[Continue]**

Once you see the “You’re Onboarded!” screen, you're officially part of the mission and earned 10 Beans for onboarding!

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FmzUnfxZoEZYqZYjfVhjs%2FOnboarding%20Steps.png?alt=media&amp;token=89196565-9e37-4222-a7fb-3a0cd9086734" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>What if I join late? Can I still participate?</summary>

Absolutely! New adventurers can join at any time. While some quests in earlier chapters might close, you can always complete the active chapter's quests and get ready for what's next. The best time to start is always NOW!

</details>

### Beans & Quests

<details>

<summary>What are "Beans" and how do I earn them?</summary>

Beans are the magical seeds of the #GaslessFuture! Think of them as the official points of the community program. You earn them by completing quests—each quest you finish provides the "nutrients" Gassy Jack needs to grow his beanstalk and escape the toxic, high-gas world. They are proof of your contribution to building our new world.

</details>

<details>

<summary>Okay, so what are Beans <em>for</em>? </summary>

The Beans you collect are your stake in the adventure's outcome! They are a direct measure of your contribution to the ETHGas community. The more Beans you collect by the end of Gassy Jack's journey, the larger your future reward allocation will be. So, more Beans = bigger reward. Simple as that!

</details>

<details>

<summary>I followed ETHGas on X / joined Discord / Telegram, but didn't get my Beans. What happened?</summary>

Great question! The social quests are a two-step mission:

1. **Action:** First, you complete the action (e.g., follow on X, join our Discord/Telegram).
2. **Verification:** Then, you must return to the quest on your Dashboard and follow the quest verification instructions
   1. For join Discord, go to the [**#🫛┃start-earning-beans**](https://discord.com/channels/1202457552479195176/1405122220493377607) **channel** and **click \[Start Verification] button**
   2. For join Telegram, go to the [**👮Verification**](https://t.me/c/ethgaspublic/6395) **topic** and click **\[Start Verification] button**

This second step triggers our verification bots (like Fuul for X, or our custom bots for Discord/Telegram) to confirm you completed the mission. Once verified, your Beans will be awarded instantly! If you ever get stuck, make sure you've completed both steps.

</details>

<details>

<summary>Why do I see separate Bean balances for Season 1 and Season 2?</summary>

ETHGas uses a **multi‑season rewards system**.

Your Beans are tracked separately for each season so the community can participate in multiple campaigns over time.

For example:

* Season 1 Beans came from the original Gasless Future quests for referrals and gas report/gas ID
* Season 2 Beans are earned through Open Gas missions and rebate activities

Your Season 1 Beans remain part of your profile and are not lost.

In fact, Season 1 participation unlocks a **Legacy Bonus**, which can provide a multiplier for your final Season 2 rewards.

This rewards early community members who helped grow the ETHGas ecosystem from the beginning.

</details>

### Wallet Connection

<details>

<summary>What is a "Primary Wallet" and why is it so important for my quest?</summary>

Think of your Primary Wallet as your master key for the entire Gassy Jack adventure! 🔑 While your X account got you into the mission, your Primary Wallet is what links you to all future rewards.

You **must** connect it to:

* **Unlock New Social Quests:** Instantly get access to new social quests to earn more Beans.
* **Prepare for Future Chapters:** This wallet will be used to check your eligibility for gas rebates and batch-claim the gas rebates for your other secondary wallets in chapter 3.

Connecting it is the single most important step you can take after onboarding!

</details>

<details>

<summary>Is it safe to link my wallet? Will it cost me any gas?</summary>

Your security is our top priority. Linking your Primary Wallet is **100% safe and completely gas-free!**

You are simply signing a gasless message (like a digital handshake) to prove you own the wallet. This action **does not** grant us any permission to access your funds or make transactions. It's a free and secure way to link your on-chain identity to your Gassy Jack profile.

</details>

<details>

<summary>What's the best way to link my primary wallet?</summary>

Use a desktop browser with a wallet extension for reliability—it's the most consistent option for a smooth connection

1. Open ETHGas in a desktop browser like Chrome or Firefox
2. Use a browser extension such as MetaMask
3. Click "Link Primary Wallet" and follow prompts

Note: Update your wallet to the latest version first to resolve common glitches

</details>

<details>

<summary>What if desktop isn't an option? Try these mobile alternatives.</summary>

* **Choose WalletConnect**: Scan the QR code with a mobile wallet app for a stable bridge—useful for custom chain support without integration issues
* **MetaMask In-App Browser**: Open ETHGas Community Dashboard (<https://www.ethgas.com/community/dashboard/>) inside MetaMask's browser on your phone to handle notifications better
* **Different Mobile Browsers**:&#x20;
  * For iOS, Safari works smoother than chrome
  * For Android, enable pop-ups and clear cache for improved compatibility

</details>

<details>

<summary>Why should I link secondary wallets to my profile?</summary>

* Linking extra wallets will allow you to aggregate your gas report stats (e.g. the total gas spend on your Gas ID) for a more complete picture
* You can link up to 50 wallets to your profile
* After linking a secondary wallet, you will NOT be able to unlink it from your profile or link it with another profile

</details>

### S2CH1: First Rebate

<details>

<summary>What is Open Gas?</summary>

Open Gas is ETHGas’s gas rebate system that lets users reclaim part of the gas fees they spend when interacting with partner protocols.

When you use participating protocols, gas rebates accumulate for your wallet.&#x20;

1. You can then claim those rebates through the Open Gas dashboard in a single transaction every month. The rebates claiming does not cost any gas and only requires signing a message.
2. You may then withdraw the claimed rebates to your wallet after accumulating for a period of time. The claimed rebates will be sent to your wallet in wETH.

Think of it like **cashback for your gas fees**, powered by ETHGas and sponsored by participating protocols.

</details>

<details>

<summary>How to claim your gas rebates with Open Gas?</summary>

Follow these 4 steps to claim your gas rebates from eligible transactions made in **February 2026 with participating protocols.**

1. **Connect Your Wallet:** Visit the Open Gas Claim Dashboard and connect the wallet you used to interact with partner protocols. Open Gas will automatically detect if your wallet is eligible for gas rebates.
2. **Check Your Available Rebates:** View the total gas rebates available across participating protocols. Your dashboard aggregates rebates from multiple protocols into one claimable balance.
3. **Claim with One Gasless Signature:** Click “Claim now” to initiate a gasless signature and collect all eligible rebates in one step. The rebates will be transferred to your Open Gas Balance.
4. **Withdraw Your Rewards:** You can withdraw them to your wallet anytime and receive wETH. Note: withdrawing requires a standard Ethereum transaction.

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F6sk0IPKgyaGsnCwnvmew%2FS2CH1.png?alt=media&amp;token=44bb61b6-ef37-4a9c-b0e6-45fb191ecdcf" alt=""><figcaption></figcaption></figure>

***Don’t See Any Rebates Yet?***

* Explore the list of participating protocols on the dashboard to see how to qualify for next month’s rebates.
* You can also request your favorite protocol to sponsor gas rebates through the [ETHGas rebate request form.](https://forms.gle/vCBaEUP54L2pWfoS7)

Return to the ETHGas Community Quests page to verify your quests and earn Season 2 Beans.

</details>

<details>

<summary>Why are first rebates based on February 2026 transactions?</summary>

Open Gas rebates are calculated in monthly cycles.

For this launch, the available rebates reflect eligible transactions made in **February 2026** with participating partner protocols.

Transactions made after this month will be included in upcoming rebate cycles, which are planned to occur on the 2nd Thursday of the next month.<br>

</details>

<details>

<summary>What does the “Connect your wallet with Open Gas” quest require?</summary>

To complete this quest:

1. Link your wallet(s) to your ETHGas community profile.
2. Visit the Open Gas Claim Dashboard.
3. Connect the same wallet(s) to the Open Gas dashboard.
4. Return to the quest and verify completion.

Once verified, you will receive Beans for completing the quest.

\
![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FOPtZlD5dEwy9lTVtghav%2Fimage.png?alt=media\&token=53a0d77b-479f-4fea-a7a0-f4ed7abe8ab7)

</details>

<details>

<summary>How do I complete the “Claim your first gas rebate” quest?</summary>

1. Go to the Open Gas Claim Dashboard.
2. Connect your wallet(s)
3. Check which partner protocols have rebates available for your wallet.
4. Claim your eligible rebate.
5. Return to the quest page and verify completion.
   1. Note: If you have **multiple wallets eligible for rebates,** make sure your have **linked all** eligible wallets to your community profile before verifying for quest completion.

Once verified, you will receive Beans for completing the quest. You will receive up to a max of 400 Beans for the 4 launching protocol partners if you have 4 eligible rebates from all partners.

e.g. If Jack has transacted with both Ether.fi and Pendle with 2 wallets.

* Jack has transacted with Ether.fi last month with wallet A and qualified for the rebate conditions set by Ether.fi and successfully claimed rebates from Ether.fi.&#x20;
* Jack has another wallet B that he used to transact with Pendle, if Jack forgets to link wallet B to his community profile.&#x20;

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Fd1ZitIhIYJ1pBqZARbUF%2Fimage.png?alt=media&amp;token=ca93dfb3-931c-405d-897b-10b100f3ccb6" alt="" width="368"><figcaption></figcaption></figure></div>

</details>

<details>

<summary>Why isn’t my quest verifying?</summary>

If your quest does not verify immediately, try the following:

• Make sure you used the same wallet(s) linked to your community profile\
• Confirm the wallet is connected to the Open Gas dashboard\
• Wait a few minutes and try verifying again

If the issue persists, reach out in the ETHGas Discord or Telegram community for support.

</details>

### Referral

<details>

<summary>How does the referral system work?</summary>

Once you onboard, you'll get a unique referral link on Dashboard page. When someone onboards using your link and completes the first step to connect X, your referral is considered successful.

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FYsPEyZUeemyK1pzBgvY1%2Funiquereflink.png?alt=media&amp;token=384011af-27ae-41fc-af91-1a1d449f6c46" alt="" width="375"><figcaption><p>Connect X on Dashboard page to see your unique referral link</p></figcaption></figure></div>

</details>

<details>

<summary>Where can I find my referral link or referral code?</summary>

Once your onboard, go to Dashboard page at <https://www.ethgas.com/community/dashboard/>. You will see the referral section under your profile. Your referral link is unique to you and your referral code is the 7-character string after `?referral={referral_code}`

e.g. for my referral link: <https://www.ethgas.com/community/onboarding?referral=caridee>, the referral code is `caridee`&#x20;

We suggest you to share your referral link directly, so the referral code will be auto-populated and confirmed via the URL parameter for your potential referees.

![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FbIh17hHXs3B4XYnZhNMY%2Funiquereflink.png?alt=media\&token=24cfee29-1216-4261-8393-47254656ef12) ![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F3CZGRKmvWwF3x1zFsj7W%2Fimage.png?alt=media\&token=f512e5c9-a4e5-4f9e-bcfd-a1c2cb34305a)<br>

</details>

<details>

<summary>What do "indirect referrals" mean?</summary>

An indirect referral is when someone you referred successfully refers someone else. For example: You refer Amy (that's a direct referral). Then, Amy refers Bob (that's an indirect referral for you). We track this to show you the full network effect of your influence!&#x20;

</details>

### **Technical & Support**

<details>

<summary>Encountered a Glitch? Try This First-Aid Checklist! <span data-gb-custom-inline data-tag="emoji" data-code="1f48a">💊</span></summary>

We've built the Gassy Jack adventure to be as seamless as possible, but in the fast-moving world of Web3, sometimes browsers and connections need a quick reset! Before reaching out for support, try these simple but powerful steps—they solve 90% of common issues.

**Step 1: Switch to Desktop 💻**

For the best and most stable experience, especially for wallet connections and quest verifications, we **strongly recommend using a laptop or desktop computer.** Mobile browsers can sometimes be unpredictable with pop-ups and wallet extension connections.

**Step 2: Clear Your Browser's Cache 🧹**

Your browser stores old data to load pages faster, but this can sometimes cause conflicts with new quests. Clearing your cache gives our platform a fresh start.

* **How:** This process is slightly different for each browser (Chrome, Brave, Firefox), but you can usually find it under `Settings > Privacy and Security > Clear Browsing Data`. Make sure to select "Cached images and files."

**Step 3: The "Re-Auth" Refresh 🔄**

Sometimes, the connection between your X account and our platform just needs a quick refresh to sync up properly.

* **How:** Navigate to your ETHGas Dashboard. Go to the navigation bar to disconnect your X account, and then immediately reconnect it. This simple action often resolves verification issues by establishing a fresh, secure link.

If you've gone through this entire checklist and are still facing an issue, our mission support team is ready to help! Check out the [**Where can I get help or report a problem?** FAQ](#where-can-i-get-help-or-report-a-problem)

</details>

<details>

<summary>My X account was suspended and I can't log in to ETHGas Community. What should I do?</summary>

If your account has been suspended on X, we recommend to reach out to X directly to resolve the matter. We are unable to fix this issue on our side.&#x20;

We strongly recommend all users to join our community using an X account that refrains from activity that may result in suspension on X as this will impact your eligibility for future rewards.

</details>

<details>

<summary>Why isn't my referral being attributed?</summary>

![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FftBmghI1FMMWMeBmkvNf%2Fimage.png?alt=media\&token=0ded9ccf-728e-43e1-9f58-e6e3cc54e76f)

You may ask your friend (referee) to check their profile section on Dashboard page to see if there is a "**Referred by** @{referrer\_X\_handle}" tag.

If you're sure a friend onboarded but you didn't get credit, it's usually due to one of a few common reasons. Let's run through the checklist:

* **Direct Link Not Used:** The most common issue is that your friend didn't use your unique referral link to land on the page. They must start their journey through your link for the system to track it automatically.
* **Manual Code Not Confirmed:** If your friend entered your referral code manually, they must click the **"Confirm"** button next to the input box *before* clicking \[Continue].
* **Fair Play System:** To keep the adventure fair for everyone, our system includes anti-Sybil measures. This means **you cannot refer yourself**, and any attempts to do so will not be attributed. We're all here to build a real community together!

If you've checked these points and believe there's still an error, please head to [\*\*#tickets channel under "SUPPORT"](https://discord.com/channels/1202457552479195176/1369922540935581779)\*\* on our Discord to open a ticket with you and your friend’s X handle.

</details>

<details>

<summary>Where can I provide feedback?</summary>

We're all about building this community together. Tell us what you love, what could be improved, or any wild ideas for future chapters (like social quests or referrals) at <https://forms.gle/W71spAQ9cw5YWoti6>

</details>

<details>

<summary>Where can I get help or report a problem?</summary>

Our official Discord is the Community HQ! We have dedicated channels where our team and community mods are ready to help you out -

* **Discuss openly** with the community and team in real-time 💬

1. Jump into our Discord and head to [**#helpdesk channel under "LOUNGE"**](https://discord.com/channels/1202457552479195176/1298196433840771124)
2. Describe the bug in the channel directly — we and the rest of the community are all ears👂

* **Create a private ticket** for sensitive issues 🔒

1. Jump into our Discord and head to [**#tickets channel under "SUPPORT"**](https://discord.com/channels/1202457552479195176/1369922540935581779)
2. Click **\[General Support] button** to open a private ticket.
3. A private chat **#ticket-XXXX under "INQUIRIES"** will be created between you and our moderators.&#x20;
   1. Tell us about the bug briefly and how we could reproduce your issue step-by-step. Feel free to share any screenshots as well.

⚠️ Please note that we will NEVER ask for your X password nor wallet private keys for debugging and we WILL NEVER DM YOU.

</details>


# Season 1 Archive

Welcome to the Gasless Future!

Welcome, adventurer! You’ve arrived at the Community Hub.&#x20;

### Join Gassy Jack on a Mission to a Gasless Future

Every great adventure has a story. This is ours.

{% tabs %}
{% tab title="Welcome to Season 1" %}
Who is Gassy Jack? He’s a friendly, mischievous donkey with a bit of a gas problem. In fact, **we’re all Gassy Jack**. We've all felt the pain of high gas fees while exploring the world of DeFi. Gassy Jack represents our collective struggle against a toxic, high-gas world.

But now, the escape plan is in motion. We are embarking on a journey together, a chapter-based saga to leave the gassy world behind and build something better. This is more than just a campaign; it's our mission to create the **#GaslessFuture**.

Your adventure begins now.

Are you ready? #LFGGasless

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Ffn2cGruWS0wnw8y6K7ik%2Fgassyjack.png?alt=media&amp;token=944ac990-9d46-4e73-9851-5a8c0ac7c44e" alt="" width="120"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Chapter 1" %}
**Beanstalk Bonanza - Social Quests & Referral**\
Trapped in a world of toxic, high-gas air, Gassy Jack has a single mission: to escape. He finds a single, magical bean and understands that its growth is his only hope. He plants this first seed, and your initial action—onboard into the program and sharing the news—provides the first burst of light and air it needs to sprout.

By joining this quest, you become a founding member of Gassy Jack's community, committed to helping him grow his escape route to a better, gas-less world. Every quest you complete and every friend you refer helps the beanstalk grow taller, stronger, and closer to freedom.

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FBo9CziZD9JkjncPgwMAT%2Fchapter1.png?alt=media&amp;token=0e277062-98e4-464d-a1d4-588a8387ff96" alt="" width="188"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Chapter 2" %}
**Great Gas Reckoning - Gas Report**\
The beanstalk has finally pierced the dense, gassy clouds. From this new height, Gassy Jack can see something he never could before: his entire journey laid out below. This is the moment of truth—**The Great Gas Reckoning.**

To climb higher, he must first look back. He needs to understand the path he's taken and the energy he's spent. This report reveals his true on-chain identity—his **Gassy Jack Grade**—and shows him the protocols that cost him the most gas.

This awareness is his power. By generating your own Gas ID, you join Gassy Jack in this moment of clarity. You are rewarded with Beans for this knowledge, and the most legendary adventurers among you will discover a pre-forged **Fused Avatar**, a badge of honor recognizing your historical significance.
{% endtab %}

{% tab title="Chapter 3" %}
**Sky-Castle Bounty: The Open Gas Initiative**

Leaving the toxic clouds far below, Gassy Jack steps onto the solid, shimmering grounds of the Sky-Castle. The climb is over; the alliance building begins.

Inside the Great Hall, he is greeted by the "OG Partners"—the first legends who have already pledged to make gas fees a relic of the past. But the Hall is vast, and Jack sees Golden Thrones reserved for the next wave of champions. The Open Gas Initiative is the master key that unlocks the Sky-Castle’s treasury.

Jack cannot issue these invitations alone. He needs his community to send out the ravens. Your mission is to take the Open Gas proclamation, broadcast it to the world, and summon your favorite protocols to claim their reserved spots at the castle. The more allies we gather, the more gas we eliminate. The more allies we gather, the more gas we eliminate, and the closer we can drive onchain adoption to onboard the next billion users.&#x20;
{% endtab %}

{% tab title="Chapter 4" %}
**Genesis Harvest: $GWEI**

Gassy Jack has found the hidden Treasure inside the Sky-Castle, but it's locked tight. The time has come to forge the Key. Complete specific quests to craft the tool that unlocks your rewards.
{% endtab %}
{% endtabs %}

## **Season 1 FAQ**

Got questions? We've got answers.

<a href="https://docs.ethgas.com/program/community-beans-and-quests/season-1-archive#s1ch1-referral" class="button secondary">S1CH1: Referral</a><a href="https://docs.ethgas.com/program/community-beans-and-quests/season-1-archive#s1ch2-gas-report-and-gas-id" class="button secondary">S1CH2: Gas Report & Gas ID</a> <a href="https://docs.ethgas.com/program/community-beans-and-quests/season-1-archive#s1ch3-open-gas" class="button secondary">S1CH3: Open Gas</a><a href="https://docs.ethgas.com/program/community-beans-and-quests/season-1-archive#s1ch4-usdgwei" class="button secondary">S1CH4: $GWEI</a><br>

<a href="#technical-and-support" class="button secondary">Technical & Support</a><a href="https://docs.ethgas.com/foundation/faq" class="button primary">Foundation (TGE Timeline & Community Airdrop)</a>

### S1CH1: Referral

<details>

<summary>How does the referral system work?</summary>

Once you onboard, you'll get a unique referral link on Dashboard page. When someone onboards using your link and completes the first step to connect X, your referral is considered successful.

<div align="left"><figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FYsPEyZUeemyK1pzBgvY1%2Funiquereflink.png?alt=media&amp;token=384011af-27ae-41fc-af91-1a1d449f6c46" alt="" width="375"><figcaption><p>Connect X on Dashboard page to see your unique referral link</p></figcaption></figure></div>

</details>

<details>

<summary>Where can I find my referral link or referral code?</summary>

Once your onboard, go to Dashboard page at <https://www.ethgas.com/community/dashboard/>. You will see the referral section under your profile. Your referral link is unique to you and your referral code is the 7-character string after `?referral={referral_code}`

e.g. for my referral link: <https://www.ethgas.com/community/onboarding?referral=caridee>, the referral code is `caridee`&#x20;

We suggest you to share your referral link directly, so the referral code will be auto-populated and confirmed via the URL parameter for your potential referees.

![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FbIh17hHXs3B4XYnZhNMY%2Funiquereflink.png?alt=media\&token=24cfee29-1216-4261-8393-47254656ef12) ![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F3CZGRKmvWwF3x1zFsj7W%2Fimage.png?alt=media\&token=f512e5c9-a4e5-4f9e-bcfd-a1c2cb34305a)<br>

</details>

<details>

<summary>What happens when I refer more than 100 users?</summary>

To reward our most dedicated beanstalk builders, we've supercharged the rewards for our top referrers. Once you successfully refer your first 100 users, a special bonus activates:

* **You will earn 2 Beans for every additional user you refer.**
* This bonus applies for up to **400 additional referrals** (from user #101 to #500).
* This allows you to earn a maximum of **800 extra Beans** from this referral power-up!

Your massive contribution to the #GaslessFuture will be directly rewarded!

</details>

<details>

<summary>What happens when I refer more than 500 users?</summary>

Adventurers who bring in over 500 new members are true community legends! While there isn't an automatic bonus programmed at this milestone, the core team is keeping a close eye on our top referrers for special recognition and potential surprises. Your massive contribution to the #GaslessFuture will not go unnoticed!

</details>

<details>

<summary>What do "indirect referrals" mean?</summary>

An indirect referral is when someone you referred successfully refers someone else. For example: You refer Amy (that's a direct referral). Then, Amy refers Bob (that's an indirect referral for you). We track this to show you the full network effect of your influence! You earn 1 Bean per indirect referral, capped at max. 100 Beans.

</details>

### S1CH2: Gas Report & Gas ID

<details>

<summary>What is Chapter 2: The Great Gas Reckoning?</summary>

The Great Gas Reckoning is the second phase of our mission to build a gasless future. Where Chapter 1 was about bringing your friends along, Chapter 2 is about awareness. It’s centered around a powerful new tool called the Gas ID, which helps you understand your personal on-chain history and rewards you for it.

</details>

<details>

<summary>What is a Gas ID and how do I get mine?</summary>

Your Gas ID is a personalized on-chain identity. It analyzes your wallet's history to create a report showing your total gas spend, transaction count, and your Gassy Jack Grade.

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FozJRxOmBAkjDF1oIyN04%2FgasID%20description.png?alt=media&amp;token=6863d3d6-9fe2-42e6-a77a-071b05afe9ec" alt=""><figcaption></figcaption></figure>

To generate it:

**Step 1: Connect X on Gas Report**

Your journey begins in the **"Gas Report"** tab in your ETHGas Community. Connect X to access: [https://www.ethgas.com/community/gas-report/](https://www.ethgas.com/community/gas-report/?utm_source=blog\&utm_medium=organic\&utm_campaign=chapter2_live)

**Step 2: Assemble Your Wallets in the Gas Report Hub**

Now, **HOLD UP!** Before you click generate, look for the "Link a secondary wallet" option. This is the most important part of the mission! Add **ALL** your other wallets to:

* 📊 **Aggregate your stats** for a complete on-chain picture.
* 🫘 **Earn the maximum Bonus Beans** from your full gas history.
* 🎟️ **Be eligible for upcoming gas rebates** in Chapter 3.

:information\_source: *Your Bonus Beans is only based on your **1st report** generation*

**Step 3: Generate Your Gas ID & Meet Your Gassy Jack**

Once all your wallets are linked, smash that **"All Set! Generate My Gas Report"** button. This is the moment you'll discover your official Gassy Jack Grade and see if a legendary Fused Avatar was forged for you.

**Step 4: Share Your Gas ID & Complete the Quests**

Your on-chain history is a badge of honor. Now, complete the final quest: share your new Gas ID card on X. You'll not only earn **100 Beans** but also help spread the word about the Great Gas Reckoning. Don't forget to **follow ETHGas on X to earn 50 Beans** and claim your Bonus Beans! **(up to 4,000 Beans)**

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Fscq0IXqi6WPFhG4pDnGS%2Fch2%20steps%20square.png?alt=media&amp;token=4993aabb-c9ff-4e88-b49c-f38855a9292d" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>How is my Gassy Jack Grade determined?</summary>

Your Gassy Jack Grade is a fun character that represents your historical on-chain activity on Ethereum! The more you've used Ethereum, the more experienced your Gassy Jack becomes.

Think of it as a badge of honor for your time on-chain. Here’s the path your Jack can take:

* 👶 **Baby Jack:** The newcomer, just starting their journey (Up to 0.05 ETH spent)
* 🧒 **Kiddo Jack:** An explorer, learning the ropes (Up to 0.2 ETH spent)
* 🧑‍🎤 **Teen Jack:** An active participant, braving the gassy clouds (Up to 1 ETH spent)
* 🦸 **Hero Jack:** A seasoned veteran of the network (Up to 4 ETH spent)
* ✨ **Legendary Jack:** A true on-chain legend! (More than 4 ETH spent)
* 💫 **Divine Jack:** A celestial being who has transcended the gassy atmosphere. (More than 20 ETH spent)
* 👑 **Apex Jack:** A true master, shaping the Ethereum ecosystem. (More than 50 ETH spent)
* ♾️ **Omni Jack:** A foundational force of the on-chain world, one with the chain itself. (More than 100 ETH spent)

**Heads Up!** It's not just about the total ETH spent! Your grade also considers[ **how recently you've been active on-chain**.](#does-my-recent-wallet-activity-affect-my-bonus-bean-or-gas-report-generation) We want to celebrate the heroes who are part of Ethereum's story *today*!

</details>

<details>

<summary>How do I earn Beans in Chapter 2?</summary>

Here’s how you can stack them:

* **Generate Your Gas ID:** Earn **50 Beans** instantly.
* **Share on X Quest:** Complete the quest to share your Gas ID on X to earn **100 Beans**.
* **Referral Quests:** Get your referred friends to generate their own Gas IDs to earn up to **200 Beans.**
* **The Bonus Beans based on Historical Gas Spend:** This is the big one! You can earn **up to 4,000 Beans** based on your aggregated historical gas spend across all your linked wallets. To claim this bonus, you must complete a verification step to confirm you are following **@ETHGasOfficial** on X.

</details>

<details>

<summary>Does my recent wallet activity affect my Bonus Bean or Gassy Jack Grade?</summary>

Yes! The Great Gas Reckoning is about the *current* state of the Ethereum economy. To celebrate the users who are on the front lines today, your **Bonus Beans calculation** includes a **Freshness Multiplier** that represents the **efficiency** of your qualifying historical gas spent based on your gas spent date.

* **Gas spent within 3 months:** 🟢 **100% Efficiency** (Maximum Reward)
* **Gas spent within 6 months:** 🟡 **95% Efficiency**
* **Gas spent within 1 year:** 🟠 **85% Efficiency**
* **Gas spent >1 year:** 🔴 **70% Efficiency**

`(Gas_Spent_0-3m * 1.0) + (Gas_Spent_3-6m * 0.95) + (Gas_Spent_6-12m * 0.85) + (Gas_Spent_12m+ * 0.70)` **= Total Qualifying Gas Spend**

*Note:* The "recency" is calculated at the moment of **Report Generation**. If a user waits three months to generate their report, transactions that were "fresh" today might slide into the "3-6 month" bucket, lowering their qualifying gas spend for Bonus Beans calculation.

Our gas report is tracking transactions since the Ethereum Beacon Chain launch (Dec 1, 2020) up until end of last month at report generation time.

If your linked wallet has no activity up until end of last month, e.g. you are generating the report with a wallet in Oct 2025 that has no activity before Sep 30, 2025, you will see the "No Wallet Activity" error that prompts you to add other active wallets before proceeding to generate.

</details>

<details>

<summary>How do I verify that I have completed the 'Share my Gas ID on X' quest?</summary>

To successfully verify you have shared your Gas ID on X:

1\. Copy and paste the image of your Gas ID within your X post and

2\. Ensure that it contains your Gas Report referral link too (e.g. “ethgas.com/communit&#x79;**/gas-report?**&#x72;eferral=...”)&#x20;

:warning: **NOTE:** Using the onboarding referral link would **INVALIDATE** the quest during verification, please make sure you're using the auto-generated `/gas-report` link. The gas report referral link will be able to attribute your referrals as well.

See reference screenshot below:

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Fhsl2YkcI6MCjUZWokVut%2Fshare_gasid_on_x_requirements.png?alt=media&amp;token=34ee8450-8b13-4881-b675-810839a10ac8" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>I already generated my Gas Report but forgot to add all my wallets. Can I get more Bonus Beans?</summary>

Yes! 🥳 We've heard you! For the month of October 2025, we're giving our early supporters a special chance to regenerate their Gas Report. Just add your other wallets and regenerate the report to get a more accurate picture of your gas history and claim any additional Bonus Beans you've earned!

For a limited time until Oct 31 23:59 UTC, you can regenerate your Gas ID for more Bonus Beans (**up to 4,000 Beans** based on your aggregated historical gas spend across all your linked wallets): \
1\. Go to the Gas Report page\
2\. Click “Regenerate Report” :arrows\_counterclockwise:\
3\. Add all your wallets\
4\. Claim your Bonus Beans :beans:

Note: Your Bonus Beans amount is normally based on your *first* gas report generation. Only for Oct 2025, you will get one more chance to regenerate for more Bonus Beans.

Starting November 1st, report generation will go back to its regular schedule: **one report per month**.

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FBBa6OwWG7rWiEmmg9p2t%2Fregen.png?alt=media&amp;token=d689583e-e91e-4f5b-96c6-0cf5e00c2629" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2Fvrh4BLRtnpKndju1xrol%2Faddmorewalletsandregen.png?alt=media&amp;token=8b8daec6-4d24-41c2-ae2a-cb64323900f3" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>I regenerated my report. How do I see my updated Bonus Beans?</summary>

Great question! Your new beans will appear in one of two ways:

* **If you haven't claimed your quest rewards yet:** You'll see an "Unlocked Quest" notification with the **updated** Bonus Beans amount. Click on the notification to claim the Bonus Beans - follow ETHGas on X first if you haven't already.
* **If you've already claimed:** You'll see a claimed "Bonus Beans" notification with the additional Bonus Beans amount. Your new Bonus Beans will be automatically added to your total. You can see the update in **Dashboard's** "Claim Bonus Beans" quest that you have completed and the **Beans History** with the claimed amount updated accordingly.

Note: Your Bonus Beans amount is normally based on your *first* gas report generation. Only for Oct 2025, you will get one more chance to regenerate for more Bonus Beans. You can earn **up to 4,000 Beans** based on your aggregated historical gas spend across all your linked wallets.

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FfQytP0iGr9TYDARO9j4w%2Faddbonusbeans.png?alt=media&amp;token=26941498-9ec0-4f8e-a7e9-1f33a7f01c39" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>What happens if I generate my first-ever report after Oct 2025? Will I still get Bonus Beans?</summary>

Absolutely! The "Bonus Beans" reward is for generating your *first* Gas Report. So, if your first time is in November, you'll still get those beans. However, the special regeneration option is only for October, so you won't be able to regenerate your report in November to update your bean count.

</details>

<details>

<summary>Why does my "Historical Gas Spent" look different or lower than before?</summary>

We upgraded our data indexing engine in Nov 2025 to ensure your **Gas ID** reflects the most precise financial data possible. If your gas spend number has changed or looks different from other explorers (like Etherscan), it is due to three specific factors regarding how we calculate your "True Cost."

**1. The "True Cost" Methodology (vs. Etherscan)**\
Many explorers, including Etherscan, often calculate the gas fees for *incoming* transactions (transfers sent *to* you) as part of your history. However, **you did not pay those fees**—the sender did.

* **Our Approach:** To give you an accurate financial picture, ETHGas filters out transactions where you were the receiver. We only count gas fees that actually left your wallet. This ensures your Gas ID represents your true on-chain expenditure.

**2. Database Resync & Accuracy Update (November Update)**\
During the initial beta launch of Gas ID, we identified a discrepancy in how certain complex transactions were indexed.

* **The Fix:** In November, we completed a full database resync. We re-indexed historical data to correct these discrepancies. The number you see now is the verified, accurate figure.

**3. The Data Snapshot Window**\
We do not track gas spend from the very first block of Ethereum (Genesis). Our data tracking is specific to the modern Ethereum era.

* **Start Date:** We begin tracking from the **Beacon Chain launch on Dec 1, 2020.**
* **End Date:** Data is currently updated through the **end of the previous month**.
* *Note: Recent activity from the current month may not yet be reflected in your total lifetime spend.*

</details>

<details>

<summary>What is the Fused Avatar and how do I get one?</summary>

The Fused Avatar is a legendary, one-of-a-kind PFP, AI-generated by fusing your X profile picture with your Gassy Jack Grade accessory.

This is not a reward you compete for; it's a badge of honor we have **pre-selected** for two groups:

1. **The Top 500 historical on-chain users** in our community (after anti-sybil checks)
2. **Key influential voices** across the Ethereum ecosystem.

To see if a Fused Avatar is waiting for you, simply generate your Gas ID.

</details>

<details>

<summary>I generated my report but didn't get a Fused Avatar. Why?</summary>

The Fused Avatar was reserved for a pre-selected group of users based on a snapshot of historical on-chain data and ecosystem influence taken *before* the launch of Chapter 2.

Don't worry if you weren't in the initial group! The Fused Avatar is just the *first* reward on ETHGas. Your continued participation, Bean collection, and community involvement will unlock future opportunities for exclusive rewards and status.

</details>

### S1CH3: Open Gas

<details>

<summary>What is Chapter 3: Sky-Castle Bounty?</summary>

**What is the Sky-Castle Bounty?**\
The Sky-Castle Bounty is the third chapter of Gassy Jack’s saga. We have built the infrastructure to "vent" the gas burden, but now we need allies to flip the switch. In this chapter, your mission is to identify and recruit **"OG Partners"**—the top protocols where you’ve spent the most gas. We aren't just asking them to join; we are showing them the massive demand for a gasless future.

Click here to learn more about Open Gas: <https://www.ethgas.com/open-gas/>

</details>

<details>

<summary>What is my objective in this Chapter?</summary>

You are acting as a community ambassador. Your goal is to complete the **"Signal the Signal" Quest**. By tagging your favorite protocols on X (formerly Twitter), you are publicly inviting them to adopt our zero-code rebate solution. You are telling them: *"I spent gas on you—now help me earn it back."*

</details>

<details>

<summary>Why should I participate if I can't claim my gas rebates yet?</summary>

1. **Future Rewards:** Completing these quests earns you beans toward the upcoming Chapter 4.
2. **Prioritization:** The more noise we make for a specific protocol (e.g., Uniswap, Aave), the faster we can onboard them, meaning you get your rebates sooner.
3. **Influence:** You are helping build the "Gasless User Layer" by proving to protocols that users demand better gas economics.

</details>

<details>

<summary>How do I complete the Quote-tweet quest?</summary>

1. Connect X on the ETHGas Community Dashboard and locate the "Quote tweet Open Gas Thread on X" quest
2. Click to quote-tweet the Open Gas announcement thread on X
3. Tag your favourite protocols that should join the Open Gas before posting
4. Copy your quote-tweet link and paste it into the "Post URL" field to verify for quest completion

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FPsSZod0LoZmD3XKxucUX%2Fch3%20steps%20v2.png?alt=media&amp;token=b4c1966d-5763-4cc6-a62a-8db890d9e259" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>My quote tweet isn't verifying. What's wrong?</summary>

Our verification bot looks for specific criteria. Please check the following:

* **Did you tag the Partner?** The quest requires you to tag the specific protocol (e.g., @CurveFinance) in your text.
* **Did you use the right link?** Ensure you pasted the URL of *your* Quote Tweet, not the URL of your profile or the original post. Try to remove the ending URL string that contains the `?s=12`
* **Is your account public?** We cannot verify posts from private X accounts.

</details>

### S1CH4: $GWEI

<details>

<summary>What criteria determine my upcoming Genesis Harvest rewards?</summary>

Please refer to the foundation FAQ [here](https://docs.ethgas.com/foundation/faq#what-criteria-determine-my-airdrop-eligibility) regarding community airdrop.

</details>

<details>

<summary>What is $GWEI?</summary>

Please refer to the foundation FAQ [here](https://docs.ethgas.com/foundation/tokenomics) regarding $GWEI tokenomics.

</details>

### **Technical & Support**

<details>

<summary>Encountered a Glitch? Try This First-Aid Checklist! <span data-gb-custom-inline data-tag="emoji" data-code="1f48a">💊</span></summary>

We've built the Gassy Jack adventure to be as seamless as possible, but in the fast-moving world of Web3, sometimes browsers and connections need a quick reset! Before reaching out for support, try these simple but powerful steps—they solve 90% of common issues.

**Step 1: Switch to Desktop 💻**

For the best and most stable experience, especially for wallet connections and quest verifications, we **strongly recommend using a laptop or desktop computer.** Mobile browsers can sometimes be unpredictable with pop-ups and wallet extension connections.

**Step 2: Clear Your Browser's Cache 🧹**

Your browser stores old data to load pages faster, but this can sometimes cause conflicts with new quests. Clearing your cache gives our platform a fresh start.

* **How:** This process is slightly different for each browser (Chrome, Brave, Firefox), but you can usually find it under `Settings > Privacy and Security > Clear Browsing Data`. Make sure to select "Cached images and files."

**Step 3: The "Re-Auth" Refresh 🔄**

Sometimes, the connection between your X account and our platform just needs a quick refresh to sync up properly.

* **How:** Navigate to your ETHGas Dashboard. Go to the navigation bar to disconnect your X account, and then immediately reconnect it. This simple action often resolves verification issues by establishing a fresh, secure link.

If you've gone through this entire checklist and are still facing an issue, our mission support team is ready to help! Check out the [**Where can I get help or report a problem?** FAQ](#where-can-i-get-help-or-report-a-problem)

</details>

<details>

<summary>Why isn't my "Share on X" quest validating?</summary>

This is a common issue with a few easy checks! Our system needs a moment to verify your post. If it's not validating, please try these steps:

1. **Follow Quest Instructions:** Ensure your post contains the referral link, e.g.
   1. for "Share your Referral Link on X", your post must contain your referral link e.g. `ethgas.com/community/onboarding?referral=...`
   2. for "Share your Gas ID on X", your post must contain your referral link e.g. `ethgas.com/community/gas-report?referral=...`

<figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FtMIVkCzO1BqbdaJgvMPb%2Fimage.png?alt=media&amp;token=91886707-f6de-4d58-b07e-486c9b698d1a" alt="" width="375"><figcaption></figcaption></figure>

2. **Enter the shared post URL:** Click the bottom right share icon on your post and then click \[Copy Link] to copy to clipboard, paste the link in the "Post URL" field to verify

   <figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2F1MVmVHzyih3G9EApaa18%2Fimage.png?alt=media&amp;token=022e9b1e-a947-4ae3-a60f-b12d83b73f81" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FgVPOE0X2RcghYExBNGfX%2Fimage.png?alt=media&amp;token=7380156d-e77f-46d2-869e-d566183875a3" alt="" width="375"><figcaption></figcaption></figure>
3. **Check Privacy:** Make sure your X (Twitter) profile is public and active. Our bot can't see posts from private nor banned accounts.
4. **Try Reposting:** If it's still not working after a few minutes, delete the original post and try sharing it again from the quest dashboard. This usually resets the connection.

</details>

<details>

<summary>My X account was suspended and I can't log in to ETHGas Community. What should I do?</summary>

If your account has been suspended on X, we recommend to reach out to X directly to resolve the matter. We are unable to fix this issue on our side.&#x20;

We strongly recommend all users to join our community using an X account that refrains from activity that may result in suspension on X as this will impact your eligibility for future rewards.

</details>

<details>

<summary>Why isn't my referral being attributed?</summary>

![](https://1913553586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk99eVkZsNrI6feXAyYs%2Fuploads%2FftBmghI1FMMWMeBmkvNf%2Fimage.png?alt=media\&token=0ded9ccf-728e-43e1-9f58-e6e3cc54e76f)

You may ask your friend (referee) to check their profile section on Dashboard page to see if there is a "**Referred by** @{referrer\_X\_handle}" tag.

If you're sure a friend onboarded but you didn't get credit, it's usually due to one of a few common reasons. Let's run through the checklist:

* **Direct Link Not Used:** The most common issue is that your friend didn't use your unique referral link to land on the page. They must start their journey through your link for the system to track it automatically.
* **Manual Code Not Confirmed:** If your friend entered your referral code manually, they must click the **"Confirm"** button next to the input box *before* clicking \[Continue].
* **Fair Play System:** To keep the adventure fair for everyone, our system includes anti-Sybil measures. This means **you cannot refer yourself**, and any attempts to do so will not be attributed. We're all here to build a real community together!

If you've checked these points and believe there's still an error, please head to [\*\*#tickets channel under "SUPPORT"](https://discord.com/channels/1202457552479195176/1369922540935581779)\*\* on our Discord to open a ticket with you and your friend’s X handle.

</details>

<details>

<summary>Where can I provide feedback?</summary>

We're all about building this community together. Tell us what you love, what could be improved, or any wild ideas for future chapters (like social quests or referrals) at <https://forms.gle/W71spAQ9cw5YWoti6>

</details>

<details>

<summary>Where can I get help or report a problem?</summary>

Our official Discord is the Community HQ! We have dedicated channels where our team and community mods are ready to help you out -

* **Discuss openly** with the community and team in real-time 💬

1. Jump into our Discord and head to [**#helpdesk channel under "LOUNGE"**](https://discord.com/channels/1202457552479195176/1298196433840771124)
2. Describe the bug in the channel directly — we and the rest of the community are all ears👂

* **Create a private ticket** for sensitive issues 🔒

1. Jump into our Discord and head to [**#tickets channel under "SUPPORT"**](https://discord.com/channels/1202457552479195176/1369922540935581779)
2. Click **\[General Support] button** to open a private ticket.
3. A private chat **#ticket-XXXX under "INQUIRIES"** will be created between you and our moderators.&#x20;
   1. Tell us about the bug briefly and how we could reproduce your issue step-by-step. Feel free to share any screenshots as well.

⚠️ Please note that we will NEVER ask for your X password nor wallet private keys for debugging and we WILL NEVER DM YOU.

</details>


# ETHGas Foundation

Governing Realtime Ethereum

## Our Vision

A future where ETHGas Foundation leads a decentralized, community-owned foundation that makes Ethereum's infrastructure as efficient and accessible as traditional finance, with $GWEI at the heart of instant, frictionless transactions.

## Our Mission

ETHGas Foundation empowers the Ethereum community to govern and grow the real-time blockspace economy. We steward the $GWEI token to drive sustainable value, fund ecosystem innovations, and eliminate gas friction for all users.

## Who Are Gas Markets For?

ETHGas touches everyone on the blockchain whether they choose to interact directly with us or not. From:

* The Validators who secure the network and earn yields, to
* The Users and traders who pay for transactions, to
* The Protocols that require gas for core functionality, to
* The Developers that create these dAPPs, to
* The Wallets that enable Users to interface with dApps,
* And many more...

As the fabric that powers blockchains, and with billions of dollars flowing through the pipeline each year, it's important that Gas, and ETHGas by extension create a system that enables users to participate in both the product roadmap and economic design. At the core of blockchains, Validators want higher yields, and Users want lower fees. Protocols, Developers, and Wallets, altogether would like to remove Gas from the user experience (e.g. account abstraction).&#x20;

While some of these interests are aligned, some aren't - how do we pay validators more with traders paying less? It's nuanced.&#x20;

An array of products addresses this to some degree on the micro level - while we still have Regular Gas, we now have High Octane (preconfs, state guarantees), as well as Bulk Purchases (blocks). Such product segmentation is driven from the demand-side of the market (i.e. users of gas), vs the supply side (i.e. Validators) with products split by compute, storage, or other.&#x20;

On the macro level, our token is designed to embody these more nuanced, multifaceted or multidimensional relationships aligning the future existence of both ETHGas with that of its users.&#x20;

The ETHGas token $GWEI is a Governance token that enables the community to participate in ETHGas' future product roadmap and tailor the economic incentives to each party accordingly. For more on the product roadmap, see the Vision section. For more on how tokens are used to align incentives, read on.&#x20;


# $GWEI Tokenomics

The Fuel for Realtime Ethereum

$GWEI serves as the **governance token** for the ETHGas Foundation. It is the primary tool allowing the community to steer the commoditization of blockspace and the Realtime Ethereum engine.

### Token Identity

* **Ticker:** $GWEI
* **Type:** ERC-20&#x20;
  * Ethereum Mainnet: [`0x2798b1cC5A993085E8A9D46e80499F1B63f42204`](https://etherscan.io/address/0x2798b1cC5A993085E8A9D46e80499F1B63f42204)
  * BSC: [`0x30117E4bC17d7B044194b76A38365C53b72F7D49`](https://bscscan.com/token/0x30117e4bc17d7b044194b76a38365c53b72f7d49)&#x20;
* **Total Supply:** 10,000,000,000 (10 Billion)
* **Token Generation Event:** Jan 21, 2026

### Token Distribution

We have designed a sustainable distribution model with a 10-year horizon for ecosystem growth. The majority of the supply is dedicated to the ecosystem and the long-term health of the protocol.

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2FngUgGrfs0IJBt2F0vspc%2Ftokenomics.png?alt=media&amp;token=376c802c-82b5-472d-a2de-2e8cf3785e3b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Important Distinction:** The "Community" vesting schedule above refers to the long-term emissions of the total supply allocation. **The Community Airdrop is separate and is NOT subject to the 4-year linear vesting.**
{% endhint %}

### Governance & Decentralized Stewardship

The $GWEI token is the steering wheel for the ETHGas ecosystem. With billions of dollars flowing through Ethereum gas markets annually, $GWEI transitions holders from passive users into active stewards to participate in the future of the protocol through proposal creation, voting and delegated decision-making. Its primary function is to enable decentralized stewardship of the protocol.

**1. On-Chain Decision Making**

Holders who stake $GWEI receive $veGWEI (voting escrow), granting them the right to propose and vote on critical changes, which may include:

* **Protocol Parameters:** Adjusting fees, incentives and collateral factors to keep the market efficient.
* **Supply Dynamics:** Managing how protocol fees are utilized to maintain ecosystem health (e.g., offsetting emissions or allocating treasury tokens).
* **Smart Contract Upgrades:** Approving migrations or new integrations to ensure the protocol remains the standard for Realtime Ethereum.

**2. Delegation & Liquid Democracy**

To enhance scalability and decision quality, $veGWEI supports vote delegation. Token holders can delegate their voting power to trusted individuals, organizations, or professional delegates, while retaining full ownership of their tokens. This liquid democracy model encourages broad participation without requiring every holder to vote on every proposal.&#x20;

**3. Commitment-Based Weighting**

Governance influence is aligned with long-term ecosystem health. Voting power is amplified by the duration of your stake. Longer lock durations or higher stake amounts confer proportionately greater voting power. This protects the protocol from short-term opportunists and rewards true long-term believers.

**4. Treasury Stewardship**

The $veGWEI community governs the protocol treasury. Through proposals, holders decide how to allocate resources for ecosystem initiatives, developer grants, and strategic partnerships. This community-driven resource allocation enables sustainable growth while maintaining decentralized control.&#x20;

**5. Emergency & Upgrade Authority**

$veGWEI governance serves as the final authority over protocol upgrades, parameter changes, and emergency actions. While operational responsibilities may be delegated to specialized committees or smart contracts, ultimate decision-making power rests with the governance process.&#x20;

***

| <p>⚠️  I<strong>MPORTANT: SCOPE OF RIGHTS</strong> </p><p>$GWEI serves as a governance token only. It is not a utility token and is not required to access or use ETHGas or any protocol products/services. $GWEI (and any associated governance rights such as $veGWEI) is a coordination mechanism for proposal submission, voting, and delegated decision-making. $GWEI does not represent or confer any equity, ownership, or membership interest in any entity, nor any right to receive profits, dividends, revenue, fees, buybacks, distributions, or any other economic return from ETHGas, the protocol, the foundation, or any affiliated party. Any references to incentives, “yield,” rewards, emissions, or treasury allocations describe protocol-native incentive mechanisms that may change by governance and are not guaranteed. Holding $GWEI is a commitment to operating and governing the protocol and is not a passive investment.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

<br>


# Staking & veGWEI

Long-Term Alignment via Vote Escrow

ETHGas utilizes a **Vote-Escrowed (ve) model** to align long-term incentives. This system ensures that those who commit to the future of the protocol have the greatest say in its direction.

By staking $GWEI, holders receive veGWEI (vote-escrowed GWEI). This action represents a long-term commitment to the ecosystem's stability. veGWEI holders are not just passive participants; they are the architects of the protocol, possessing the governance power to propose and vote on critical ecosystem parameters and treasury allocations.

As we transition to a Realtime Ethereum and a Gasless Future, veGWEI holders anchor the economy. They ensure the protocol remains aligned with its mission to elevate Ethereum for the next generation of DeFi.

<a href="https://ethgasfoundation.org/staking/" class="button primary">Stake $GWEI</a>

### The Staking Mechanism: How veGWEI Works

To participate in governance and earn yield, holders lock their $GWEI to receive veGWEI (Vote-Escrowed GWEI). This mechanism transforms you from a token holder into a protocol architect.

**1. Select Your Commitment**

You can lock your $GWEI for a duration of your choice, ranging from 1 week to 4 years.

* Note: veGWEI is non-transferable. It is tied to your wallet as a representation of your reputation and commitment.

**2. The Time-Weighted Multiplier**

The veGWEI utilizes a linear decay model where Time = Power.

* **The Multiplier:** A 4-year lock grants significantly more voting weight (and potential yield) than a 1-week lock.
* **The Logic:** This ensures that the loudest voices in governance belong to long-term guardians, not short-term speculators.

### Why Stake?

Staking is the operational engine of the ETHGas Foundation. By staking your tokens, you transition from a beneficiary to a builder, actively participating in:

* **Decentralized Stewardship:** You act as a guardian of the ecosystem, holding voting weight to approve protocol parameters and prevent malicious updates.
* **Protocol Calibration:** You signal priority for the Realtime Ethereum economy, ensuring the protocol evolves based on user consensus rather than centralized planning.
* **Aligned Incentives:** By committing your tokens to the vote-escrow contract, you align your long-term interests with the protocol. This commitment grants you enhanced Governance Power, allowing you to participate in the distribution of protocol emissions directed toward active participants.

Dive in the full staking FAQ [here](https://docs.ethgas.com/foundation/foundation-faq#staking).


# Foundation FAQ

Got questions? We've got answers.

### <a href="https://docs.ethgas.com/foundation/foundation-faq#general" class="button secondary">General</a><a href="https://docs.ethgas.com/foundation/foundation-faq#token-generation-event-tge-timeline" class="button secondary">TGE Timeline</a><a href="https://docs.ethgas.com/foundation/foundation-faq#community-airdrop-season-1" class="button secondary">Community Airdrop: Season 1</a><a href="https://docs.ethgas.com/foundation/foundation-faq#eligibility" class="button secondary">Eligibility</a><a href="https://docs.ethgas.com/foundation/foundation-faq#claiming-and-auto-stake" class="button secondary">Claiming & Auto-Stake</a><a href="https://docs.ethgas.com/foundation/foundation-faq#staking" class="button secondary">Staking</a>

### General&#x20;

<details>

<summary>What are the official $GWEI and veGWEI Token Contract Address?</summary>

**Official $GWEI Contract Address:**

* Ethereum Mainnet: [`0x2798b1cC5A993085E8A9D46e80499F1B63f42204`](https://etherscan.io/address/0x2798b1cC5A993085E8A9D46e80499F1B63f42204)
* BSC: [`0x30117E4bC17d7B044194b76A38365C53b72F7D49`](https://bscscan.com/token/0x30117e4bc17d7b044194b76a38365c53b72f7d49)&#x20;

\
**Official veGWEI Contract Address:**

* Ethereum Mainnet: [`0x13aB49189EBC2287E941a82D9Af154130f96Eb21`](https://etherscan.io/address/0x13aB49189EBC2287E941a82D9Af154130f96Eb21)

Our token contract is audited by Sigma Prime and you may refer to the security report [here](https://github.com/ethgas-developer/ethgas-audit/blob/main/Sigma_Prime_Ethgas_ERC20_Security_Assessment_Report_v2_0.pdf).

{% hint style="danger" %}
**SECURITY WARNING:** Please verify token address against our official documentation. Do NOT interact with any other contract claiming to be $GWEI.
{% endhint %}

</details>

<details>

<summary>What is the difference between $GWEI and veGWEI?</summary>

**$GWEI:** The liquid token. You can hold it or trade it.

**$veGWEI (Vote-Escrowed):** The governance right you get when you stake $GWEI. You cannot trade $veGWEI, but it gives you voting power and staking rewards.

</details>

<details>

<summary>​​Is $GWEI a security?</summary>

No. $GWEI is a governance token used strictly for decentralized decision-making within the ETHGas protocol. It conveys no ownership rights, revenue rights, or dividends.

Learn more about $GWEI tokenomics and governance [here](https://docs.ethgas.com/foundation/tokenomics).

{% hint style="warning" %}
**LEGAL DISCALIMER:** $GWEI serves as a governance token only. It is not a utility token and is not required to access or use ETHGas or any protocol products/services. $GWEI (and any associated governance rights such as $veGWEI) is a coordination mechanism for proposal submission, voting, and delegated decision-making. $GWEI does not represent or confer any equity, ownership, or membership interest in any entity, nor any right to receive profits, dividends, revenue, fees, buybacks, distributions, or any other economic return from ETHGas, the protocol, the foundation, or any affiliated party. Any references to incentives, “yield,” rewards, emissions, or treasury allocations describe protocol-native incentive mechanisms that may change by governance and are not guaranteed. Holding $GWEI is a commitment to operating and governing the protocol and is not a passive investment.
{% endhint %}

</details>

### Token Generation Event (TGE) Timeline

<details>

<summary>When is the official TGE (Token Generation Event)?</summary>

The official launch date of our Token Generate Event is **Jan 21, 2026**. Here is the timeline leading up to TGE:

* **Jan 13:** Official TGE and community airdrop announcement
* **Jan 19 (00:00 UTC):** Final Airdrop Snapshot of your Beans and "Gasless Future Community Program" quests must be done by this time
* **Jan 20 (13:00 UTC):** Season 1 community airdrop eligiblity checker
* **Jan 21 (13:00 UTC):** TGE day - season 1 community airdrop claiming and staking

Stay tuned for our TGE announcement by [following ETHGas Foundation on X.](https://x.com/intent/follow?screen_name=ethgasfndn)&#x20;

{% hint style="success" %}
Bookmark our Foundation website for eligibility check: <https://ethgasfoundation.org/>
{% endhint %}

</details>

<details>

<summary>Has the Season 1 community airdrop snapshot been taken yet?</summary>

The snapshot of the [“Gasless Future Community Program”](https://www.ethgas.com/community/overview/) and your accrued "Beans" were taken on January 19th at 00:00 UTC. Any quest activity after this date will not count toward the season 1 community airdrop.

</details>

### Staking

<details>

<summary>How do I stake $GWEI?</summary>

1. Connect your wallet to the official Staking Page (<https://ethgasfoundation.org/staking/>).&#x20;
   1. We strongly recommend you use Desktop for a smoother UX.
2. Scroll down to the Stake Panel to enter "Stake Amount"&#x20;
   1. If you don't have any $GWEI, click the "Get GWEI" button to see available exchanges
   2. If your $GWEI is on BNB, you will need to [bridge your tokens to Ethereum Mainnet first](#i-have-usdgwei-on-bsc-binance-smart-chain-.-how-do-i-stake)
3. Select your "Unlock Date"
   1. You must stake for a minimum of 7 days and your unlock date will be extended until end of your last active staking cycle.&#x20;
   2. Please note that the staking cycle resets every Thursday at 00:00 UTC so you may only choose an unlock date on Thursdays.
4. Review the staking details before clicking \[Approve & Stake]. Check your wallet to sign the transaction(s).
   1. You will need to approve the spending cap of $GWEI and sign twice for `Approve` and `Stake` for your first staking transaction.
5. You will see the success page with "Tokens Secured!".&#x20;
6. Click \[Back to Staking Dashboard] to see your stake & governance and manage your staking term. Enable “Auto-Claim & Stake” to compound your rewards.

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2FJh298zNgrgjjCqnIKXBz%2FStake.png?alt=media&amp;token=1453e424-8af3-43bc-bda4-1d2ad2adf43c" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>What is veGWEI and how does it work?</summary>

veGWEI stands for **vote-escrowed GWEI.** It is a non-transferable token that you receive when you stake your GWEI tokens. It represents&#x20;

* your governance power
* share of the weekly rewards pool

</details>

<details>

<summary>How do rewards work?</summary>

Rewards are **distributed weekly (Thursdays 00:00 UTC).** The more veGWEI you hold, the larger your governance power and share of the rewards pool.&#x20;

</details>

<details>

<summary>How can I boost my rewards?</summary>

You may boost your reward by improving your veGWEI and governance power of your current stake by

1. **Enable “Auto-Claim & Stake”** to auto-compound your weekly rewards
2. **Increase** your stake amount
3. **Extend** your staking term

In our model, **Time = Power.**

* Lock for 4 years = Max Multiplier.&#x20;
* Longer locks grant you significantly more veGWEI (voting power) and yield share than shorter locks. This aligns with standard DeFi vote-escrow models (similar to Curve)

</details>

<details>

<summary>Can I increase my staking amount?</summary>

Yes, you can increase your staking amount at any time. This will add to your existing stake and increase your veGWEI and governance power.

</details>

<details>

<summary>Can I extend my staking term?</summary>

Yes, you can extend your staking term to increase your veGWEI balance and voting power. Extending the term will **lock your existing stake for a longer period.**

</details>

<details>

<summary>Can I have multiple staking terms?</summary>

No, currently you cannot have multiple staking terms. Once you have an active stake, you can only&#x20;

* increase the stake amount and/or
* extend the whole staking term

</details>

<details>

<summary>Can I unstake early?</summary>

No. The veToken model is a commitment. If you lock for 1 year, your tokens are escrowed for 1 year. You cannot "rage quit" early. This protects the protocol from volatility and rewards long-term believers.

</details>

<details>

<summary>How is the Protocol-Level Staking APR calculated?</summary>

The Protocol Staking APR represents the annualized reward rate based on the current weekly reward pool relative to the total eligible staked GWEI in the system.

* **The Formula:** `(Weekly GWEI Reward × 52) ÷ Total GWEI Staked`
* **What this means:** This is the "global" rate. It gives you a snapshot of the protocol's health and the current efficiency of the reward pool before individual multipliers are applied.

</details>

<details>

<summary>How is <em>my</em> specific User Rewards APR determined?</summary>

**Your APR is dynamic—you can boost it by increasing your Governance Power.**\
Unlike a standard bank rate, your yield depends on your "share of the pie." This share is determined by your **Governance Power**, which you can increase by locking your stake for longer periods or staking more GWEI.

* **The Formula:** `(Weekly GWEI Reward × 52 × Your Governance Power %) ÷ Your Staked Balance`
* **Example Scenario:**
  * **Weekly Reward Pool:** 1,000,000 GWEI
  * **Your Staked Balance:** 3,316.4 GWEI
  * **Your Governance Power:** 0.0023%
  * **Result:** In this scenario, your annualized return would be approximately **36.06%**.

*By extending your staking term or increasing your stake amount, you increase your Governance Power %, directly boosting your personal APR.*

</details>

<details>

<summary>How does the "Genesis Multiplier" work?</summary>

To reward our earliest governance guardians and supporters, the first genesis reward cycle includes a massive multiplier on staking yields with 1M GWEI rewards. To capture this, you **must stake your GWEI before the first reward cycle begins on Jan 22 (00:00 UTC).**

</details>

<details>

<summary>Do I need to claim my weekly $GWEI rewards manually?</summary>

Rewards are **distributed weekly (Thursdays 00:00 UTC) after the end of each cycle.** You must stake **before the start of a cycle** to be eligible for the cycle's rewards pool.&#x20;

You have 3 claim rewards options via the Staking Dashboard under **"Your Rewards"**&#x20;

1. **Claim:** Transfer the rewards directly to your wallet as liquid tokens.

   <figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2Fh5mtSHQKfQlmyulChdJX%2Fimage.png?alt=media&amp;token=d551e969-ac86-4fa7-8537-d8b033c588ff" alt=""><figcaption></figcaption></figure>
2. **Claim & Restake (Manual compound):** Manual claim to restake to increase your veGWEI balance and voting power for future cycles based on your preferred cadence.

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2FVnEMXkBmbJP9HFDJBWdk%2Fimage.png?alt=media&amp;token=2cf8418c-fa59-488a-8287-cd6878942e08" alt="" width="375"><figcaption></figcaption></figure>

3. **Enable "Auto-Claim & Stake" (Auto compound):** Click to toggle ON the **“Auto-Claim & Stake” option** on the Staking Dashboard next to "Your Rewards" to auto-compound your weekly rewards. You will need to sign a transaction on your wallet to approve this weekly rewards auto-compound.

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2F4Ef1veIlIQ2wDOVLbrNm%2Fimage.png?alt=media&amp;token=82761a45-c42a-417e-93c1-bd5cad263a0c" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>I have $GWEI on BSC (Binance Smart Chain). How do I stake?</summary>

**You must bridge your tokens to Ethereum Mainnet first.**

The $GWEI staking contract is built on Ethereum Mainnet. If you hold tokens on BSC, you cannot stake them directly.

1. **Go to Portal Bridge:** <https://portalbridge.com/?fromChain=Bsc&toChain=Ethereum&fromToken=GWEI&toToken=GWEI>&#x20;
2. **Connect Wallet:** Select the chain where you currently hold $GWEI (Source: BNB) and the destination (Target: Ethereum).
   1. From: BNB `0x30117E4bC17d7B044194b76A38365C53b72F7D49`<br>
   2. To: Ethereum Mainnet `0x2798b1cC5A993085E8A9D46e80499F1B63f42204`

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2FIOJzUoZFUmWAtXsqqexn%2Fimage.png?alt=media&amp;token=b2477d9e-a196-4ae5-ac9d-d502e0700ebe" alt=""><figcaption></figcaption></figure>

3. **Enter & Review the Bridge Amount:** Follow the prompts to connect your wallet, choose the bridge amount to move your assets.
4. **Confirm Bridge Transaction & Stake:** Once the funds arrive in your wallet on Ethereum Mainnet, return to the staking dashboard (<https://ethgasfoundation.org/staking/>) to initiate your stake.

</details>

<details>

<summary>Is the $GWEI staking contract secure and audited?</summary>

**Security is the foundation of our infrastructure.**

We operate with a "security-first" mindset. We do not rely on obscurity; we rely on rigorous, top-tier verification.

* Tier-1 Audit: Our staking contract has been audited by Sigma Prime, a leading security assessment firm in the Ethereum ecosystem.

Open Source: We believe in "Verify, don't just trust." You can review our full audit reports [here](https://github.com/ethgas-developer/ethgas-audit/blob/main/Sigma_Prime_ETHGas_Token_Rebate_Escrow_Security_Assessment_Report_v3.2.pdf).

</details>

### Community Airdrop: Season 1

#### Eligibility

<details>

<summary>What criteria determine my Season 1 airdrop eligibility?</summary>

Eligibility is based on a combination of your onchain activity and the ["Gasless Future Community Program"](https://www.ethgas.com/community/overview/). We measured the following to verify if you are an active Ethereum user and advocate for ETHGas.\
\
Eligibility for the Season 1 community airdrop was determined by a snapshot of onchain activity and activity within the ["Gasless Future Community Program"](https://www.ethgas.com/community/overview/). To qualify, your wallet must have met specific Social, Engagement, and/or Onchain Activity thresholds to verify you are an active Ethereum user and advocate for ETHGas.\
\
You must meet the following three core requirements before Snapshot on Jan 19 (00:00 UTC) to be eligible:

\
**1. The Social Check (You must have completed one of the following quests on X/Twitter)**

* Shared your Gas ID on X.
* OR Quote-Tweeted (QT) the ETHGas "Open Gas Initiative" announcement.

**2. The Activity Qualifier (Must meet at least ONE)**

In addition to the Social Check and Bean Floor, you must fall into at least one of these five categories:

* **The Ethereum Active User:** Total historical gas spend on Ethereum mainnet ≥ 0.5 ETH.
* **The Discord Elite:** Ranked in the Top 100 for Discord Engage Points.
* **The Telegram Raider:** Ranked as a Top User in our Telegram community.
* **The Community Grinder:** Ranked in the Top 100 on the ETHGas Community Leaderboard
* **The Ethereum OG:** Ranked in the Top 5000 on the ETHGas Community Leaderboard AND a minimum of 1.5 ETH in gas spent on Ethereum Mainnet. These users are exempt from the social check.

**3. The Bean Floor (Mandatory)**

* You must have accumulated a minimum of 500 Beans.

Note: If you did not meet the Social Check AND the Activity Qualifier, you are not eligible, regardless of your gas spend or beans.

</details>

<details>

<summary>Why am I not eligible for the Season 1 community airdrop? </summary>

If the eligibility checker indicates you are not eligible, it is because your wallet did not meet the specific criteria captured during the **Jan 19th** **(00:00 UTC)** snapshot.

Most commonly, ineligibility is due to missing [one of the Three Mandatory Pillars](#what-criteria-determine-my-airdrop-eligibility).

Other Common Reasons:

* **Wrong Wallet:** Ensure you are connected with the **primary wallet** linked to your Gasless Future Community account.
* **Sybil / Bot Behavior:** Your address was flagged by our anti-sybil detection system for artificial patterns or bot-like activity.
* **Late Participation:** You completed the quests after the snapshot date on Jan 19 (00:00 UTC).

If you are certain you met **the core requirements** before our snapshot and would like to appeal, you may create a private ticket with your X username and primary wallet address. Jump into our Discord and head to [**#tickets channel under "SUPPORT"**](https://discord.com/channels/1202457552479195176/1369922540935581779)<br>

</details>

<details>

<summary>Why can't I see my final $GWEI amount on January 20th?</summary>

The checker will confirm ***if*** you are eligible. The final calculation of $GWEI—based on the conversion rate of Beans to tokens—will be revealed on **January 21st** when the Claim & Stake portal opens.

</details>

<details>

<summary>Will Discord “Engage Points”/Telegram “Raider Points” be considered for the upcoming airdrop? </summary>

The upcoming community airdrop will be based on your Beans and here’s the timeline of our internal operations to convert “Points” to Beans -

* **Jan 15 (00:00 UTC):** Snapshot of Engage Points/Raider Points taken.
* **Before Jan 18:** Points converted to Beans and credited to your Community Account.
* **Jan 19 (00:00 UTC):** Final snapshot of Beans and quest activity taken to calculate your airdrop eligibility and $GWEI allocation.

To ensure we can add the converted Beans to your Community Account, you **MUST complete ALL** of the following **before Jan 15 (00:00 UTC) -**

1. Onboard and create your [Gasless Future Community Account](https://www.ethgas.com/community/overview/); AND
2. Complete the “Join ETHGas Discord server” / “Join ETHGas Telegram" quest on the Community Dashboard to link your discord/telegram credentials to the Community Account

</details>

<details>

<summary>Is the Airdrop geo-restricted?</summary>

Yes. To comply with global regulatory frameworks, the Foundation website including the Tokens page for eligibility checker and claim are not accessible to users in the United States, Canada, China, OFAC-sanctioned countries, and other restricted jurisdictions.

We utilize geoblocking on the claim interface. If you believe you are being blocked in error, please consult our [Terms of Service](https://ethgasfoundation.org/terms-of-service).

</details>

<details>

<summary>My X (Twitter) account was suspended. Did I lose my future allocation?</summary>

Not if you previously generated your Gas ID.

Rest assured, your progress is saved on-chain, not on social media.

* **If you linked your wallet in Chapter 1.5:** You are safe. Your "Proof of Pain" and Gas ID are tied to your Primary Wallet, not your social handle. When the eligibility checker goes live, you will simply connect that wallet to verify your status. You do not need access to the suspended social account to check your eligibility.
* **If you never linked a wallet:** Unfortunately, we cannot verify your activity. The Gas ID generation (linking a wallet) was the mandatory step to secure your spot. Without it, there is no on-chain record of your participation.

**Why is this the policy?** We rely on X for initial Sybil resistance. According to[ X’s Enforcement Policy](https://help.x.com/en/managing-your-account/suspended-x-accounts), accounts are suspended for "severe violations of the X Rules," including platform manipulation and spam. We cannot override X’s internal security measures to verify a suspended user.

</details>

<details>

<summary>I have questions about the Community Program (Beans &#x26; Quests), where can I get help?</summary>

Please refer to the community FAQ [here](https://docs.ethgas.com/community#community-faq).

</details>

#### Claiming & Auto-Stake

<details>

<summary>How do I claim my $GWEI?</summary>

1. Connect your wallet to the official Token Page (<https://ethgasfoundation.org/token>).&#x20;
   1. We strongly recommend you use Desktop to claim & auto-stake for a smoother UX.
2. You will see your eligibility and final allocation. Click \[Claim & Stake Airdrop] to proceed.
   1. Your airdrop is distributed as a staked position to ensure immediate governance participation. By claiming, you accept the lock-up period and begin accruing boosted staking yield of the "Genesis Multiplier".&#x20;
3. Adjust your "Unlock Date" and review the staking details before clicking \[Claim & Stake]
   1. You must stake for a minimum of 30 days and your unlock date will be extended until end of your last active staking cycle.&#x20;
   2. Please note that the staking cycle resets every Thursday at 00:00 UTC so you may only choose an unlock date on Thursdays.
4. Check your wallet and sign the 2 transactions for Claim & Stake.
5. You will see the success page with "Tokens Secured!". Click \[Go to Staking Dashboard] to see your stake & governance and manage your staking term.

<figure><img src="https://3103416726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMmfpzrdxmkBFNlo73mX%2Fuploads%2FJC9BIvQ7vJnlSKK9q53s%2FClaim%26Autostake.png?alt=media&amp;token=004bb5c2-770d-41a0-800d-3a125b844e53" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Why is my Airdrop automatically staked?</summary>

We are building a community of builders. To ensure long-term alignment, your allocation allocation is **automatically staked as veGWEI upon airdrop claiming** to initiate your status as a **Protocol Guardian.**

* **The Duration:** Your initial stake is locked for a **minimum of 30 days,** extending until the conclusion of the **last active** Weekly Staking Cycle.
* **Immediate Governance:** You receive full voting power the moment you claim.
* **Launch Boost:** During this initial phase, you automatically accrue Boosted Staking Incentives to reward your early commitment to the protocol.

</details>

<details>

<summary>Do I need ETH to claim?</summary>

Yes. Claiming is an on-chain transaction on **Ethereum Mainnet**. You will need a small amount of ETH for gas **(\~0.001 ETH).**

</details>

<details>

<summary>Should I claim my Airdrop immediately?</summary>

**Yes**. Time is a factor in your total reward calculation.

The **Boosted Staking Incentives** are heavily weighted toward the first month of the TGE (Token Generation Event). Because your airdrop is automatically staked for a minimum of 30 days upon claiming, delaying your claim results in two negative outcomes:

1. **Missed Yield:** You miss the days with the highest APY, which occurs right at launch when the reward pool is freshest.
2. **Misaligned Cycles:** If you claim late, your 30-day auto-stake will extend beyond the initial "Boosted" period. You will be locked during a period of normalized (lower) rewards, rather than capitalizing on the launch incentives.

To maximize your $GWEI allocation, claim on Day 1 to sync your staking term with the first month Boost window.<br>

</details>

<details>

<summary>What happens after the minimum 30-day staking is up?</summary>

Your initial lock-up concludes at the end of the specific Weekly Cycle that falls after your 30th day. Once this cycle finishes:

* Your tokens remain **staked (locked)**, **BUT rewards will STOP.**
* To keep earning yield, you must manually **extend** your staking term **before** your unlock date.
* Extending your term increases your voting power and locks in your yield rate. Don't let your rewards flatline!

</details>

<details>

<summary>I missed the snapshot. Can I still participate?</summary>

Yes. The ecosystem is just getting started.

While the snapshot for the **initial Season 1** "Gasless Future Community Program" (Chapters 1-4) has concluded, there are two major ways to participate moving forward:

1. **Staking & Yield:** Post-TGE, you can **get $GWEI** on the open market and stake it in the Staking Dashboard for the first cycle of "Genesis Multiplier of 1M rewards". This allows new users to earn rewards alongside early adopters.
2. **Season 2 Community Program:** We are preparing to launch Season 2, featuring a fresh set of quests, partners, and rewards. Stay tuned to our socials @ETHGasOfficial for the kickoff announcement.

</details>


# $GWEI Bridge Instructions

{% hint style="info" %}
These instructions cover manual (contract-level) token bridging via Wormhole. While this provides zero bridge fee, full control, and transparency, it requires multiple steps and careful input handling.

Most users may prefer UI-based bridge providers such as [https://portalbridge.com](https://portalbridge.com/), inputting the $GWEI contract address directly, automating this process, and offering a simpler, safer experience, but charging a fee for their service.
{% endhint %}

### $GWEI Token Addresses

* Ethereum Mainnet: [`0x2798b1cC5A993085E8A9D46e80499F1B63f42204`](https://etherscan.io/address/0x2798b1cC5A993085E8A9D46e80499F1B63f42204)&#x20;
* BSC: [`0x30117E4bC17d7B044194b76A38365C53b72F7D49`](https://bscscan.com/address/0x30117E4bC17d7B044194b76A38365C53b72F7D49)

### $GWEI Bridge Instructions

<details>

<summary><strong>Bridging from BSC -> Ethereum</strong></summary>

1. On BSC chain, approve GWEI token for wormhole tokebridge: [`0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7`](https://bscscan.com/address/0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7)&#x20;
2. Call wormhole tokebridge [`0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7`](https://bscscan.com/address/0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7) `transferTokens()` according to[ https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/wtt-contracts/#transfer-tokens](https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/wtt-contracts/#transfer-tokens)
   1. token is the GWEI address [`0x30117E4bC17d7B044194b76A38365C53b72F7D49`](https://bscscan.com/address/0x30117E4bC17d7B044194b76A38365C53b72F7D49)
   2. recipientChain ID for ETH is 2 according to[ https://wormhole.com/docs/products/reference/chain-ids](https://wormhole.com/docs/products/reference/chain-ids/)
   3. recipient must be in bytes32 format, for example if your address is `0xf1357d45671CB16dE055752809C8d2e3aB4AfE2e` then you should input `0x000000000000000000000000f1357d45671cb16de055752809c8d2e3ab4afe2e`
   4. arbiterFee can be set to `0`
   5. nonce can start with `0`
   6. Example tx: <https://bscscan.com/tx/0x566b40c9e9f1cd4d90274a889ab07d0e4b2717eb988512dd60ce7c468060579f>
3. Search your tx hash on[ https://wormholescan.io](https://wormholescan.io/) and wait for around 1-2 min
4. On the Ethereum chain, call wormhole tokenbridge [`0x3ee18b2214aff97000d974cf647e7c347e8fa585`](https://etherscan.io/address/0x3ee18b2214aff97000d974cf647e7c347e8fa585) `completeTransfer` with input data from the below:
   1. Get the VAA bytes from[ https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/fetch-signed-vaa](https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/fetch-signed-vaa/), <mark style="color:$warning;">remember to put 0x before the hex data</mark>
      1. Or, open the terminal and run `echo "<raw-vaa>" | base64 --decode | xxd -p -c 9999` where `"<raw-vaa>"` refers to the vaa data found in the advanced tab of the wormhole explorer page
   2. Example tx: <https://etherscan.io/tx/0x27993971f2548908178c2e2e6761279e0eb204f64c3db0b724107c33a4d1cf01>

</details>

<details>

<summary><strong>Bridging from Ethereum -> BSC</strong></summary>

1. On the Ethereum chain, approve GWEI token for wormhole tokebridge [`0x3ee18b2214aff97000d974cf647e7c347e8fa585`](https://etherscan.io/address/0x3ee18b2214aff97000d974cf647e7c347e8fa585)
2. Call wormhole tokebridge [`0x3ee18b2214aff97000d974cf647e7c347e8fa585`](https://etherscan.io/address/0x3ee18b2214aff97000d974cf647e7c347e8fa585) `transferTokens()` according to[ https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/wtt-contracts/#transfer-tokens](https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/wtt-contracts/#transfer-tokens)
   1. token is the GWEI address [`0x2798b1cC5A993085E8A9D46e80499F1B63f42204`](https://etherscan.io/address/0x2798b1cC5A993085E8A9D46e80499F1B63f42204)
   2. recipientChain ID for BSC is `4` according to[ https://wormhole.com/docs/products/reference/chain-ids/](https://wormhole.com/docs/products/reference/chain-ids/)
   3. recipient must be in bytes32 format, for example if your address is `0xf1357d45671CB16dE055752809C8d2e3aB4AfE2e` then you should input `0x000000000000000000000000f1357d45671cb16de055752809c8d2e3ab4afe2e`
   4. arbiterFee can be set to `0`
   5. nonce can start with `0`
   6. Example tx: <https://etherscan.io/tx/0x2afbaf839d3e17a128f315e75f8fb69a3ff3bb33e491538f88e150e905bc9e11>
3. Search your tx hash on[ https://wormholescan.io](https://wormholescan.io/) and wait for around 18-20 min
4. On BSC chain, call wormhole tokenbridge [`0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7`](https://bscscan.com/address/0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7) `completeTransfer` with input data from the below
   1. Get the VAA bytes from[ https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/fetch-signed-vaa](https://wormhole.com/docs/products/token-transfers/wrapped-token-transfers/guides/fetch-signed-vaa/), <mark style="color:$warning;">remember to put 0x before the hex data</mark>
      1. Or, open the terminal and run `echo "<raw-vaa>" | base64 --decode | xxd -p -c 9999` where `"<raw-vaa>"` refers to the vaa data found in the advanced tab of the wormhole explorer page
   2. Example tx: <https://bscscan.com/tx/0xd96cbbdb8dbe47185a27c264196d633a043475465f5150b23ab11a7f1c2261a0>

</details>


# Welcome

ETHGas Orderflow Engine accepts private transactions on Ethereum Mainnet, shares safe decoded orderflow with authorized searchers, and forwards eligible transactions and backrun bundles to configured builders.

The engine is designed for two participants:

* **Originators** submit signed transactions or bundles without broadcasting them to the public mempool.
* **Searchers** receive unsigned decoded orderflow and submit backruns.

## Start here

* New integrators: follow the [Quickstart](https://docs.ethgas.com/orderflow/quickstart).
* Sending orderflow: read [Originators](https://docs.ethgas.com/orderflow/originators).
* Building backruns: read [Searchers](https://docs.ethgas.com/orderflow/searchers).

{% hint style="info" %}
The engine admits structurally valid signed transactions; it does not simulate them or guarantee on-chain inclusion. Final acceptance is determined by the configured builders.
{% endhint %}


# How it works

The engine keeps the submission path regional and Redis-backed. PostgreSQL receives durable projections asynchronously and is not required to answer an orderflow submission.

```mermaid
sequenceDiagram
    participant O as Originator
    participant E as ETHGas Engine
    participant S as Searcher
    participant B as Builders
    O->>E: Signed transaction or bundle
    E-->>O: Transaction or local bundle hash
    E->>S: Unsigned decoded transaction
    S->>E: Reference + signed backrun
    E->>B: bundle/transaction
    B-->>E: Builder result
    E-->>O: Tracking and refund record
```

## Flow overview

1. An originator submits a signed raw transaction or bundle.
2. The engine validates its envelope and chain ID, admits it atomically, and forwards it to every configured builder.
3. Authorized searchers receive the decoded transactions without raw bytes or signatures.
4. A searcher references the last transaction hash in the originator orderflow and appends its own signed transactions.
5. The engine forwards the bundle and transaction.
6. Tracking and refunds endpoints reflect the status of transaction, bundle and refund.

## Privacy boundary

Searchers see decoded transaction fields—including calldata—but not signed raw transaction bodies or signature fields. Configured builders receive the signed payloads needed for execution. Do not submit secrets in transaction calldata.

## Lifecycle

| Status      | Meaning                                                         |
| ----------- | --------------------------------------------------------------- |
| `PENDING`   | Accepted; no terminal builder result is available.              |
| `FORWARDED` | At least one builder accepted the submission.                   |
| `REJECTED`  | Processing failed or all applicable builder submissions failed. |
| `CANCELLED` | A searcher replacement group was cancelled.                     |
| `UNKNOWN`   | No matching hash is visible to the tracking service.            |

Only `PENDING` is non-terminal. `UNKNOWN` can be temporary immediately after submission because tracking projections are asynchronous.


# Quickstart

You need a provisioned originator or searcher account. The account's Ethereum address controls API-key issuance through an EIP-712 signature.

## 1. Issue an API key

Request a challenge for the account address:

```bash
curl "https://orderflow.ethgas.com/v1/auth/challenge?address=0x<ACCOUNT_ADDRESS>"
```

Sign the returned EIP-712 payload without changing it, then submit the complete challenge, the same top-level address, and the signature:

```bash
curl https://orderflow.ethgas.com/v1/auth/verify \
  -H 'Content-Type: application/json' \
  --data '{
    "address": "0x<ACCOUNT_ADDRESS>",
    "domain": { "...": "exact challenge domain" },
    "types": { "...": "exact challenge types" },
    "primaryType": "AuthChallenge",
    "message": { "...": "exact challenge message" },
    "signature": "0x<SIGNATURE>"
  }'
```

The response contains one `ek_live_...` API key. Store it securely; keys belong to one account type and are not interchangeable.

{% hint style="warning" %}
Issuing a new key rotates the account's active key. Never put API keys, private keys, signed transactions, or authorization headers in logs.
{% endhint %}

## 2. Submit an originator transaction

```bash
curl https://originator.orderflow.ethgas.com/v1/<API_KEY> \
  -H 'Content-Type: application/json' \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_sendRawTransaction",
    "params": ["0x<SIGNED_TRANSACTION>"]
  }'
```

The result is the Ethereum transaction hash. The engine forwards accepted orderflow to the configured builders; do not also broadcast the same private flow unless that is intentional.

## 3. Track it

```bash
curl https://orderflow.ethgas.com/v1/tx/0x<TRANSACTION_HASH>
```

Tracking returns `PENDING`, `FORWARDED`, `REJECTED`, or `UNKNOWN`. See [Tracking and refunds](https://docs.ethgas.com/orderflow/tracking-and-refunds) for bundle and payout queries.


# Originators

Originators send signed transactions through the public or partner RPC endpoint.

To request an originator account or a refund-read-only subaccount, contact us at <info@ethgas.com>.

| Access  | Endpoint                                               |
| ------- | ------------------------------------------------------ |
| Public  | `https://originator.orderflow.ethgas.com/v1`           |
| Partner | `https://originator.orderflow.ethgas.com/v1/{API_KEY}` |

## Send a transaction

The engine supports these equivalent methods:

* `eth_sendRawTransaction` with `params: ["0x..."]`
* `eth_sendPrivateRawTransaction` with `params: ["0x..."]`
* `eth_sendPrivateTransaction` with `params: [{"tx":"0x..."}]`

Each returns the ordinary Ethereum transaction hash.

## Send a bundle

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendBundle",
  "params": [{
    "txs": ["0x<SIGNED_TX_1>", "0x<SIGNED_TX_2>"],
    "blockNumber": "0x12abcde",
    "refundPercent": 90,
    "refundRecipient": "0x1111111111111111111111111111111111111111"
  }]
}
```

`txs` must contain signed transaction(s). `blockNumber` and both refund fields are optional. If the target block has already passed, the request is rejected. `refundPercent` is an optional integer in the range 0–99. Values outside the configured range are silently replaced with the deployment default. The default is 90. `refundRecipient` is optional and defaults to the sender of the bundle's first transaction.

The result contains the engine's local identity:

```json
{"jsonrpc":"2.0","id":1,"result":{"bundleHash":"0x..."}}
```

## Refund override

Any originator method can use a query override:

```
?refund=0x1111111111111111111111111111111111111111:75
```

The query value takes precedence over bundle-body refund fields. Percentages outside the deployment's configured range fall back to the configured default; malformed values are rejected.

Without an override, the configured default percentage and the first transaction's recovered sender are used.

## Bundle references

The last transaction in originator orderflow is its shareable reference. Searchers receive the full decoded transaction list and use that last hash to reference the flow. During builder forwarding, the engine replaces the reference with every original signed transaction in order.

All originator orderflow is forwarded to the builders, regardless of whether a searcher backrun is present.


# Searchers

Searchers receive live orderflow over WebSocket and submit bundles over the same connection or HTTP.

To request a searcher account, contact us at <info@ethgas.com>.

| Transport | Endpoint                                             |
| --------- | ---------------------------------------------------- |
| WebSocket | `wss://searcher.orderflow.ethgas.com/v1/{API_KEY}`   |
| HTTP      | `https://searcher.orderflow.ethgas.com/v1/{API_KEY}` |

## Receive orderflow

Opening the WebSocket subscribes the session automatically. A client may also send the idempotent subscription request:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_subscribe",
  "params": ["ethgas_partialPendingBundles"]
}
```

The params can also be `mevblocker_partialPendingBundles` or `blink_partialPendingBundles` for compatibility to other protocols.

Notifications contain an ordered array of decoded unsigned transactions. This abridged example omits some type-specific fee fields:

```json
{
  "jsonrpc": "2.0",
  "method": "eth_subscription",
  "params": {
    "subscription": "0x...",
    "result": [{
      "chainId": "0x1",
      "to": "0x...",
      "value": "0x0",
      "data": "0x...",
      "nonce": "0x1",
      "gas": "0x5208",
      "type": "0x2",
      "hash": "0x...",
      "from": "0x..."
    }]
  }
}
```

Fanout is live-only: open the WebSocket before the originator submits. Missed notifications are not replayed.

If the `result` array contains only 1 object, it is a transaction only. If it contains more than 1 object, that is a bundle. You only need to reference the hash of the last transaction in your backrun bundle.

`eth_unsubscribe` is not supported. To stop receiving orderflow, close the WebSocket connection.

## Submit a backrun

Use the last transaction hash from the notification as the first `txs` entry, followed by your signed transaction(s):

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "eth_sendBundle",
  "params": [{
    "txs": ["0x<ORIGINATOR_REFERENCE_HASH>", "0x<SIGNED_BACKRUN>"],
    "blockNumber": "0x12abcde",
    "replacementUuid": "aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee",
    "revertingTxHashes": [],
    "droppingTxHashes": []
  }]
}
```

The response returns a local `bundleHash`. The engine expands a valid originator reference server-side and adds the applicable refund fields before builder submission.

`txs` accepts 0–100 entries. An empty `txs` array is a cancellation by `replacementUuid` and behaves identically to `eth_cancelBundle`; in this case `replacementUuid` is required and no other field is permitted.

`replacementUuid` is optional for submission. When used, increase either `replacementSeqNumber` or its alias `replacementNonce`; do not send both.

`minTimestamp` is an optional unsigned Unix timestamp in seconds. It must not be later than the bundle's intake time; future values are rejected rather than queued.

## Cancel replacements

```json
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "eth_cancelBundle",
  "params": [{
    "replacementUuid": "aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee"
  }]
}
```

A successful `eth_cancelBundle` response contains the integer `200` in the JSON-RPC `result` field, over either HTTP or WebSocket:

```json
{"jsonrpc":"2.0","id":3,"result":200}
```

An empty `txs` bundle with only `replacementUuid` is also a cancellation, but its JSON-RPC result is `{"bundleHash":""}`. Both responses confirm durable cancellation admission; builder completion is asynchronous.

## Connection behavior

Respond to pings promptly. Sessions close after 24 hours and should reconnect. Authorization changes close the connection, and slow readers may be disconnected when their outbound queue fills.


# Tracking and refunds

Tracking endpoints provide status reads by hash. Responses never return signed raw transaction bytes or signatures.

## Transaction status

```bash
curl https://orderflow.ethgas.com/v1/tx/0x<TRANSACTION_HASH>
```

```json
{
  "status": "FORWARDED",
  "hash": "0x...",
  "timeReceived": "2026-09-07T12:00:00.000Z",
  "transaction": null,
  "refundPercent": null,
  "refundRecipient": null
}
```

Public transaction tracking returns the status, hash, and receipt time. The `transaction`, `refundPercent`, and `refundRecipient` fields are null.

To retrieve the decoded unsigned transaction and refund policy for an owned flow, use `https://orderflow.ethgas.com/v1/{API_KEY}/tx/{txHash}` with the owning partner originator's API key.

An unknown hash still returns HTTP `200`, with `status: "UNKNOWN"` and null detail fields.

## Bundle status

```bash
curl "https://orderflow.ethgas.com/v1/bundle?hash=0x<BUNDLE_HASH>"
```

```json
{
  "status": "FORWARDED",
  "bundleHash": "0x...",
  "builderBundleHash": "0x...",
  "blockNumber": "0x12abcde",
  "timeReceived": "2026-09-07T12:00:00.000Z"
}
```

`bundleHash` is the engine's identity. `builderBundleHash` is null until an accepting builder returns a valid bundle hash.

## Partner refunds

Partner originators can list only their own refund liabilities and confirmed payouts:

```bash
curl https://orderflow.ethgas.com/v1/<API_KEY>/refunds
```

The response groups confirmed entries by payout transaction and pending batch entries by recipient. Refund amounts are decimal wei strings.

Refund reporting follows finalized chain data with a fixed 32-block lag. A forwarded bundle does not by itself guarantee a refund: the engine must attribute an eligible finalized builder payment to the originator flow.


# API reference

All public APIs available to originators and searchers are listed below. JSON-RPC calls use version `2.0`, a non-null string or integer `id`, and a one-element `params` array. JSON requests use `Content-Type: application/json`.

## Originator APIs

### Entry points

| Transport | HTTP method | Endpoint                                               | Authentication  | Description                                                      |
| --------- | ----------- | ------------------------------------------------------ | --------------- | ---------------------------------------------------------------- |
| HTTPS     | `POST`      | `https://originator.orderflow.ethgas.com/v1`           | None            | Public endpoint for submitting originator JSON-RPC requests.     |
| HTTPS     | `POST`      | `https://originator.orderflow.ethgas.com/v1/{API_KEY}` | API key in path | Partner endpoint for authenticated originator JSON-RPC requests. |

### JSON-RPC methods

| Method                          | Parameters                          | Description                                                                            | Result                   |
| ------------------------------- | ----------------------------------- | -------------------------------------------------------------------------------------- | ------------------------ |
| `eth_sendRawTransaction`        | `["0x<SIGNED_TRANSACTION>"]`        | Submit one signed transaction as private orderflow.                                    | Transaction hash         |
| `eth_sendPrivateRawTransaction` | `["0x<SIGNED_TRANSACTION>"]`        | Alias of `eth_sendRawTransaction` for submitting one signed transaction.               | Transaction hash         |
| `eth_sendPrivateTransaction`    | `[{"tx":"0x<SIGNED_TRANSACTION>"}]` | Submit one signed transaction using an object parameter.                               | Transaction hash         |
| `eth_sendBundle`                | `[{"txs":[...], ...}]`              | Submit an ordered bundle of signed transactions with optional block and refund fields. | `{"bundleHash":"0x..."}` |

Every originator JSON-RPC method accepts the optional query `refund=<address>:<integer-percent>`. The query override takes precedence over refund fields in an originator bundle body.

## Searcher APIs

### Entry points

| Transport | HTTP method   | Endpoint                                             | Authentication  | Description                                                           |
| --------- | ------------- | ---------------------------------------------------- | --------------- | --------------------------------------------------------------------- |
| HTTPS     | `POST`        | `https://searcher.orderflow.ethgas.com/v1/{API_KEY}` | API key in path | Submit authenticated searcher JSON-RPC requests over HTTP.            |
| WebSocket | `GET` upgrade | `wss://searcher.orderflow.ethgas.com/v1/{API_KEY}`   | API key in path | Open a live orderflow stream and exchange searcher JSON-RPC messages. |

### JSON-RPC methods

| Method             | Transport          | Parameters                         | Description                                                                                                           | Result                                                         |
| ------------------ | ------------------ | ---------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `eth_subscribe`    | WebSocket          | `["ethgas_partialPendingBundles"]` | Return the ID of the automatic live orderflow subscription; calling it again is idempotent.                           | Subscription ID                                                |
| `eth_sendBundle`   | HTTPS or WebSocket | `[{"txs":[...], ...}]`             | Submit or replace a searcher bundle. An empty `txs` array with only `replacementUuid` cancels that replacement group. | `{"bundleHash":"0x..."}`; `{"bundleHash":""}` for cancellation |
| `eth_cancelBundle` | HTTPS or WebSocket | `[{"replacementUuid":"<UUID>"}]`   | Cancel the active bundles associated with a replacement UUID.                                                         | Integer `200` in the JSON-RPC `result` field                   |

Cancellation acknowledgements confirm durable intake; builder completion is asynchronous.

### WebSocket notification

| Message            | Direction          | Description                                                                           | Payload                                                                                                        |
| ------------------ | ------------------ | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `eth_subscription` | Server to searcher | Deliver live decoded unsigned originator transactions for the automatic subscription. | `params.subscription` contains the subscription ID and `params.result` contains the ordered transaction array. |

Opening the WebSocket creates the subscription automatically. Missed notifications are not replayed, and `eth_unsubscribe` is not supported.

## Account APIs

These endpoints are available to provisioned originator and searcher accounts. To request an account or an originator refund-read-only subaccount, contact us at <info@ethgas.com>.

| HTTP method | Endpoint                                                           | Authentication                    | Description                                                            |
| ----------- | ------------------------------------------------------------------ | --------------------------------- | ---------------------------------------------------------------------- |
| `GET`       | `https://orderflow.ethgas.com/v1/auth/challenge?address={address}` | None                              | Issue an EIP-712 challenge for the account address.                    |
| `POST`      | `https://orderflow.ethgas.com/v1/auth/verify`                      | EIP-712 signature in request body | Verify the signed challenge and issue or rotate the account's API key. |
| `GET`       | `https://orderflow.ethgas.com/v1/auth/account`                     | Bearer API key                    | Return the identity and capabilities associated with the API key.      |
| `POST`      | `https://orderflow.ethgas.com/v1/auth/api-keys/revoke`             | Bearer API key                    | Revoke the current API key; the request body is an empty JSON object.  |

## Tracking and refund APIs

| Audience                                        | HTTP method | Endpoint                                                   | Authentication  | Description                                                                                |
| ----------------------------------------------- | ----------- | ---------------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------ |
| Originators                                     | `GET`       | `https://orderflow.ethgas.com/v1/tx/{txHash}`              | None            | Look up the public lifecycle status of an originator transaction by hash.                  |
| Partner originators                             | `GET`       | `https://orderflow.ethgas.com/v1/{API_KEY}/tx/{txHash}`    | API key in path | Look up an owned transaction and include its private decoded body and refund policy.       |
| Originators and searchers                       | `GET`       | `https://orderflow.ethgas.com/v1/bundle?hash={bundleHash}` | None            | Look up an originator or searcher bundle's lifecycle and latest builder bundle hash.       |
| Partner originators and refund-read subaccounts | `GET`       | `https://orderflow.ethgas.com/v1/{API_KEY}/refunds`        | API key in path | List confirmed payouts and pending refund liabilities belonging to the partner originator. |


