Skip to content

Commit 2fcbe12

Browse files
committed
reword
1 parent d15eccb commit 2fcbe12

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

public/samples/DataFeeds/SVR/broadcaster.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import "github.com/flashbots/mev-share-node/mevshare"
22

33
// ... create and sign your transaction
4+
// Your transaction should send ETH to block.coinbase as the tip/bid
5+
// Example: Include a call that does payable(block.coinbase).transfer(msg.value)
46
tx := types.NewTransaction(...)
57
signedTx, err := types.SignTx(tx, ...)
68
txBytes := signedTx.MarshalBinary()

public/samples/DataFeeds/SVR/broadcaster.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ async function sendBackrunBundle(pendingTx: IPendingTransaction) {
1414
}
1515

1616
async function buildDummyBackrunTx(pendingTx: IPendingTransaction) {
17+
// Your liquidation transaction should send ETH to block.coinbase as the tip/bid
18+
// Example: Include a call that does payable(block.coinbase).transfer(tipAmount)
1719
const backrunTx = { data: {}, maxFeePerGas: 22000, maxPriorityFeePerGas: 22000 }
1820
const signedBackrunTx = await executorWallet.signTransaction(backrunTx)
1921
return signedBackrunTx

src/content/data-feeds/svr-feeds/index.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,16 @@ Once you've detected an SVR update and identified a profitable liquidation oppor
375375

376376
- **Bidding Strategy**: Block builders typically select the highest-paying bundle. Your bid must be competitive while leaving room for profit. The bundle's economic value comes from:
377377
- The gas price of your transaction
378-
- Any explicit payment you include to the builder
378+
- Any explicit payment (tip) you include to the builder
379+
380+
**How to submit the tip**: Within your backrun transaction itself, send ETH to `block.coinbase` (the block builder's address), which specifies your bid amount. The higher the tip sent to `block.coinbase`, the more competitive your bundle becomes. Example:
381+
382+
```solidity
383+
// Within your liquidation transaction, send tip to block.coinbase
384+
payable(block.coinbase).transfer(tipAmount);
385+
```
386+
387+
You do not need to manually split the tip between Chainlink and the DeFi protocol (e.g., Aave). Simply pay your full bid amount to `block.coinbase`; the revenue split is handled automatically by the SVR infrastructure after the bundle is included.
379388

380389
- **Inclusion Parameters**: Specify the target block range for your bundle to be considered
381390
- Typically target the next block plus a small range for redundancy

0 commit comments

Comments
 (0)