For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

{
  "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:

Refund override

Any originator method can use a query override:

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.

Last updated