81trust / 100
Mev Recent Blocks
by MEV recent blocks in Onchain & crypto
x402 APIPassing, checked 2 h ago
Last N MEV-Boost-built blocks via the Flashbots relay. For each block: slot, block number/hash, builder pubkey, proposer pubkey, gas used/limit, ETH paid to the proposer, and tx count. Use to monitor block-builder market share, proposer revenue, or to correlate an arbitrage opportunity with the block it landed in.
POST https://agent402.tools/api/mev-recent-blocks
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 187 ms typical, 187 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/mev-recent-blocks" \
-H "content-type: application/json" \
-d '{"limit":5}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fmev-recent-blocks
const res = await pay("https://agent402.tools/api/mev-recent-blocks", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":5}),
});
console.log(await res.json());Example input
{
"limit": 5
}Example output
{
"avgEthPerBlock": 0.072345,
"blocks": [
{
"blockHash": "0xabc...",
"blockNumber": 22345678,
"builderPubkey": "0x9000...",
"builderShort": "0x90000000…abcdef",
"gasLimit": 30000000,
"gasUsed": 14987654,
"numTx": 187,
"parentHash": "0xdef...",
"proposerFeeRecipient": "0x1234...",
"proposerPubkey": "0xa000...",
"slot": 12345678,
"valueEth": 0.072345,
"valueWei": "72345000000000000"
}
],
"count": 1,
"relay": "flashbots",
"totalEthToProposers": 0.072345
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 207 ms | $0.002 |
| 7 h ago | Passed | 402 | 187 ms | $0.002 |