Base
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Base
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
debug_traceBlockByNumber re-runs an entire Base block and returns opcode-level execution traces for every transaction in it, addressed by block number or by a tag such as latest, earliest, or pending. Base is the OP Stack optimistic rollup Coinbase operates, producing blocks roughly every two seconds, paying gas in ETH, and settling to Ethereum L1. Direct the call to https://base.therpc.io/YOUR_API_KEY (chain ID 8453, hex 0x2105) with the block specifier and an optional tracer config; the node replays each transaction against the parent state and returns one trace per transaction in block order. The number-based form is the convenient way to trace the head of the chain or to sweep a sequential range of Base blocks.
callTracer, then look for sandwich or arbitrage patterns around Aerodrome and Uniswap pools.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | blockNumber | string | نعم | Block to trace. |
| 2 | options | object | لا | Same tracer configuration object as debug_traceTransaction. |
| النوع | الوصف |
|---|---|
| array | Array of per-transaction trace results in block order. Each element has the same shape as debug_traceTransaction output for the active tracer. |
Try it live in the Base playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | Method not found | debug namespace not enabled on the node. |
-32602 | Invalid params | Block number is malformed or not a recognized tag. |
-32000 | block not found | Block does not exist or archive state is unavailable for that number. |
latest and pending tags are valid but race with Base's roughly two-second block cadence — the head can advance between the time you send the request and when it is served, so two calls may target different blocks.المعاملات
hex block number or "latest" | "earliest" | "pending"
Same tracer configuration object as debug_traceTransaction.