81trust / 100

Mev Block Payment

by MEV block payment lookup in Markets & finance

x402 APIPassing, checked 2 h ago

Look up the MEV-Boost payment for a specific slot or block number via the Flashbots relay. Returns the builder, proposer, value paid in ETH, gas usage, and tx count. Returns found=false if the block was built locally or via a different MEV-Boost relay (Flashbots is one of several).

POST https://agent402.tools/api/mev-block-payment

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
181 ms typical, 181 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-block-payment" \
  -H "content-type: application/json" \
  -d '{"blockNumber":26104983}'
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-block-payment
const res = await pay("https://agent402.tools/api/mev-block-payment", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"blockNumber":26104983}),
});
console.log(await res.json());

Example input

{
  "blockNumber": 26104983
}

Example output

{
  "blockHash": "0x29b12476c4bdbad3d080057a7c068c42da781d4bfb1545491d65b9f942a20461",
  "blockNumber": 26104983,
  "builderPubkey": "0x89057b5818abfca92fb9d38ea74dfab0f6f58630b6138e4f73da26666295e047cb18d353a134c5fad672eba231ff610c",
  "builderShort": "0x89057b58…ff610c",
  "found": true,
  "gasLimit": 60000000,
  "gasUsed": 14100104,
  "numTx": 144,
  "proposerFeeRecipient": "0xd4E96eF8eee8678dBFf4d535E033Ed1a4F7605b7",
  "proposerPubkey": "0xb6ab19ca47a0b0f67e95e4cbb772fd8feff2a4f481eb494a06d54308f7fa959ee87889e2ffbe34ee8d466ed47a7d5dbd",
  "relay": "flashbots",
  "slot": 15343686,
  "valueEth": 0.009667520599769124,
  "valueWei": "9667520599769125"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402181 ms$0.002
7 h agoPassed402183 ms$0.002