TL;DR
XBlock-EOS is a new open-source framework designed to extract and organize the massive, complex data generated by the EOSIO blockchain. By processing nearly 2 terabytes of raw data into seven structured datasets, the authors provide researchers with a comprehensive toolkit to study high-throughput blockchain ecosystems, smart contract behavior, and decentralized resource management.
What Problem Does This Paper Address?
While Bitcoin and Ethereum dominate blockchain research, the EOSIO ecosystem has largely been a "black box" for data scientists. EOSIO is architecturally distinct: it uses a Delegated Proof of Stake (DPoS) consensus, generates blocks every 0.5 seconds, and manages resources like CPU and RAM through a complex staking and rental system.
This high performance creates a "data explosion" problem. Synchronizing a full node takes over a month and requires massive storage. Furthermore, existing data extraction tools are often closed-source, slow, or provide incomplete information (like missing "inline actions" triggered between contracts). There is a significant gap between the raw, messy JSON logs produced by the network and the structured data needed for meaningful analysis.
Methods
The authors introduced a framework called XBlock-EOS to bridge this gap. The core technical innovation is a custom-built history_file_plugin for the EOSIO client (Nodeos).
Standard official plugins often bottleneck the system because they try to parse and insert data into databases (like PostgreSQL or MongoDB) in real-time. The authors' plugin takes a more efficient approach:
- Asynchronous Collection: It hooks into the transaction replay process and writes raw trace data into a memory buffer.
- Fast Serialization: A separate thread periodically reads from this buffer and saves the data directly to disk as JSON files.
- Structured Mapping: They developed scripts to clean these JSON files—removing duplicates and redundant info—and map them into seven well-grained CSV datasets.
This approach is significantly faster; the authors report collecting the first 20 million blocks in about one day, whereas official plugins could take over a week on the same hardware.
Datasets
The XBlock-EOS framework produces seven distinct datasets, covering 89.8 million blocks (from launch in June 2018 to November 2019):
- Block, Transaction, and Action: Basic ledger statistics.
- Internal and External EOS Transfers: Tracking the flow of the native EOS token.
- Contract Information: Metadata on deployed smart contracts, including their WebAssembly code size.
- Contract Invocation: Detailed logs of which functions were called and by whom.
- Token Action: Data on the thousands of custom tokens (like "airdrops") created on the platform.
- Account Creation: Records of how and when new users joined the network.
- Resource Management: Logs of CPU/NET staking and RAM trading.
Key Insights and Ideas
- The Centralization Reality: Despite being a "decentralized" platform, the data shows that EOSIO is highly concentrated. Only 63 unique block producers generated nearly 90 million blocks, and a handful of accounts (often linked to exchanges) dominate the production.
- The Gambling Powerhouse: Word-cloud analysis of transfer memos and contract names reveals that Gambling and Games DApps are the primary drivers of activity on EOSIO, likely due to the platform's zero-fee transaction model.
- Airdrop Anomalies: The authors identified massive surges in activity caused by "airdrops" (like EIDOS), where users flooded the network with tiny transactions to claim free tokens, providing a real-world look at how incentive structures can stress-test a blockchain.
- Resource Speculation: The data captures the "speculative boom" in the RAM market, where users hoarded and traded storage capacity, leading to the eventual launch of the REX (Resource Exchange) rental mechanism.
Key Results
The authors successfully processed 1.88 TB of raw JSON data into 198.7 GB of structured CSV datasets.
Quantitative highlights from the exploration include:
- Throughput: EOSIO averaged 56.42 transactions per second (tps), peaking at 126 tps—significantly higher than Bitcoin or Ethereum, though still far from the "million tps" marketing goals.
- Efficiency: Most transactions are simple, containing only one action.
- Scale: The dataset includes over 2.5 billion transactions and 2.9 billion actions, providing a massive corpus for machine learning and security research.
Limitations and Future Work
The authors acknowledge that XBlock-EOS currently focuses strictly on on-chain data. They suggest that future versions should incorporate off-chain data from exchanges and developer communities (like GitHub) to provide a more holistic view of the ecosystem.
Additionally, they propose "combination analysis"—comparing EOSIO data directly with Ethereum or Bitcoin datasets to better understand how different consensus mechanisms (DPoS vs. PoW) affect user behavior and network security. Finally, they aim to use this data for automated fraud and bot detection, as their initial analysis suggests a significant portion of EOSIO accounts may be bot-controlled.
Summary updated