flashbots / flashbots/mev-blocks

should we expose bundle & block timestamps?

Open
#21 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Idea: expose three new timestamps in `/transactions` and `/blocks`

* `block.witnessed_at`
* `transaction.received_at`
* `transaction.sent_to_miners_at`

@jiangjinyuan already made an issue about block timetamps: https://github.com/flashbots/mev-blocks/issues/7

Returning the timestamp at which a new block was witnessed by the relay will let you know exactly how much time you have, between then and when the block gets mined, to submit a bundle.

I think this is an easy yes.

Exposing data about other searchers' bundles, however, might be contentious.

**Pros:**
* allows searchers to compare timestamps of conflicting bundles
* this way you can know whether your opponent is sending bundles before you

**Con:**
* anyone can see how quickly your bot builds and sends a bundle (thereby leaking info about how fast your strategy's algorithm is)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.