Transaction Submission
Originators send signed transactions through the public or partner RPC endpoint.
Partner
https://originator.orderflow.ethgas.com/v1/{API_KEY}
With dedicated refund endpoint
Much higher rate limit
Public
https://originator.orderflow.ethgas.com/v1
Basic features
To request a partner account, contact us at info@ethgas.com and share your EOA address. Afterwards, you can refer to here for how to obtain the API key.
Send a transaction
The engine supports these equivalent methods:
eth_sendRawTransactionwithparams: ["0x..."]eth_sendPrivateRawTransactionwithparams: ["0x..."]eth_sendPrivateTransactionwithparams: [{"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.
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
Last updated