Blocks Latest
by TraceFast in Onchain & crypto
TraceFast live Ethereum data: the most recent block, with its header and the totals of what it contains — transaction counts by outcome, gas, fees, value moved, withdrawals. The same shape as `blocks/{number}`. Docs: https://docs.tracefast.xyz/api/block-latest.md
https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest- Price
- $0.01
- per call in USDC
- Uptime
- 19.2%
- last 30 days
- Response time
- 260 ms
- 355 ms slowest 5%
- Last check
- Failed
- 4 h ago, next any minute now
Reliability
Latest check failed 4 h ago: Served content without asking for payment
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latestExample response
The provider's example. We can't check it without paying.
Example response, 32 lines
{
"data": {
"baseFeePerGas": "96450112",
"blobGasUsed": "262144",
"blobTxCount": 1,
"burntFees": "2306574432495168",
"chainId": 1,
"contractCreationCount": 0,
"difficulty": "0",
"excessBlobGas": "181793557",
"extraData": "0x4275696c6465724e6574",
"failedTxCount": 2,
"feeRecipient": "0xdadb0d80178819f2319190d340ce9a924f783711",
"gasLimit": "60000000",
"gasUsed": "23914689",
"hash": "0x517339f2b140e00a5d26a5898bc2914b9a50ea809e8b4c170d225da2e2ffb876",
"logCount": 702,
"number": 26096646,
"ommersCount": 0,
"parentHash": "0xe33d3bf8640312f8861ac887d0012d32a49e46ba891ccd73cd552e4d672193a2",
"receiptsRoot": "0x646813ff3c279a12e1af3c6dd33e36fa95b8ac8b0999d6649bc1516c62c800f2",
"stateRoot": "0xd75b1367e86d43d74d7daa970360fa7ddec66968cd48e742ca88522cf54547b2",
"successfulTxCount": 234,
"timestamp": 1790847803,
"totalGasFees": "11340612370428729",
"totalTips": "9034037937933561",
"totalValueWei": "13171850658528419187",
"totalWithdrawalGwei": "222857874",
"transactionsRoot": "0x7086ebf10647d000233740e264cc57d30bc983321477d5bed14f2bc064ce4f2a",
"txCount": 236
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmpp.tracefast.xyz%2Fapi%2Fv1%2Fchains%2F1%2Fblocks%2Flatest
const res = await pay("https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://mpp.tracefast.xyz/api/v1/chains/1/blocks/latest")
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 4 h ago | Served content without asking for payment | 200 | 325 ms | - |
| 9 h ago | Served content without asking for payment | 200 | 721 ms | - |
| 13 h ago | Served content without asking for payment | 200 | 362 ms | - |
| 18 h ago | Served content without asking for payment | 200 | 667 ms | - |
| 23 h ago | Served content without asking for payment | 200 | 217 ms | - |
Show 10 older checks
| 28 h ago | Served content without asking for payment | 200 | 294 ms | - |
| 32 h ago | Served content without asking for payment | 200 | 505 ms | - |
| 37 h ago | Served content without asking for payment | 200 | 313 ms | - |
| 42 h ago | Served content without asking for payment | 200 | 737 ms | - |
| 46 h ago | Served content without asking for payment | 200 | 386 ms | - |
| 2 days ago | Served content without asking for payment | 200 | 597 ms | - |
| 2 days ago | Served content without asking for payment | 200 | 336 ms | - |
| 2 days ago | Served content without asking for payment | 200 | 1.7 s | - |
| 3 days ago | Served content without asking for payment | 200 | 417 ms | - |
| 3 days ago | Served content without asking for payment | 200 | 449 ms | - |