/v1/rollups
Layer-2 rollups ranked by blob-space consumption
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/blobspace-api/v1/rollups" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/blobspace-api/v1/rollups", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/blobspace-api/v1/rollups");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/blobspace-api/v1/rollups",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Layer-2 rollups ranked by the blob (data-availability) space they are consuming right now, aggregated over the most recent blob transactions. Each rollup posts its compressed transaction data as blobs; this is who is actually paying for Ethereum data availability and how the blob space is split — Base, Arbitrum, Optimism and the rest. 'unknown' groups blobs Blobscan has not yet attributed to a named rollup. blob_space_share_pct is each rollup's share of blob gas in the window. Live, cached ~30s.",
"source": "Blobscan public API (api.blobscan.com), recent blob transactions tagged by rollup",
"rollups": [
{
"blobs": 102,
"rollup": "base",
"blob_txs": 17,
"da_fee_eth": 0.000108,
"blob_gas_used": 13369344,
"blob_space_share_pct": 40.3
},
{
"blobs": 38,
"rollup": "unknown",
"blob_txs": 37,
"da_fee_eth": 4.1e-5,
"blob_gas_used": 4980736,
"blob_space_share_pct": 15
},
{
"blobs": 30,
"rollup": "world",
"blob_txs": 6,
"da_fee_eth": 3.2e-5,
"blob_gas_used": 3932160,
"blob_space_share_pct": 11.9
},
{
"blobs": 15,
"rollup": "arbitrum",
"blob_txs": 5,
"da_fee_eth": 1.6e-5,
"blob_gas_used": 1966080,
"blob_space_share_pct": 5.9
},
{
"blobs": 10,
"rollup": "optimism",
"blob_txs": 2,
"da_fee_eth": 1.1e-5,
"blob_gas_used": 1310720,
"blob_space_share_pct": 4
},
{
"blobs": 10,
"rollup": "soneium",
"blob_txs": 2,
"da_fee_eth": 1.0e-5,
"blob_gas_used": 1310720,
"blob_space_share_pct": 4
},
{
"blobs": 9,
"rollup": "katana",
"blob_txs": 3,
"da_fee_eth": 1.0e-5,
"blob_gas_used": 1179648,
"blob_space_share_pct": 3.6
},
{
"blobs": 9,
"rollup": "unichain",
"blob_txs": 3,
"da_fee_eth": 1.0e-5,
"blob_gas_used": 1179648,
"blob_space_share_pct": 3.6
},
{
"blobs": 6,
"rollup": "ink",
"blob_txs": 1,
"da_fee_eth": 7.0e-6,
"blob_gas_used": 786432,
"blob_space_share_pct": 2.4
},
{
"blobs": 4,
"rollup": "metal",
"blob
…