Comprehensive on-chain data including blockchain fundamentals (blocks, transactions, logs, balances) and DeFi protocol analytics (DEX trading, lending protocols) across multiple networks delivered via Amazon S3 for advanced blockchain research and DeFi strategy development.

Blockchain Data

Transaction Data

BlockchainSample Files
BitcoinDownload
EthereumDownload
ArbitrumDownload
BNB ChainDownload
PolygonDownload

Transaction Logs

BlockchainSample Files
EthereumDownload
ArbitrumDownload
BNB ChainDownload
PolygonDownload

Account Balances

BlockchainSample Files
EthereumDownload
ArbitrumDownload
BNB ChainDownload
PolygonDownload

Block Data

BlockchainSample Files
EthereumDownload
ArbitrumDownload
BNB ChainDownload
PolygonDownload

DeFi Data

DEX (Decentralized Exchange) Data

DEX Trades

Raw trading data from major decentralized exchanges:
Sample Files
Download

DEX Liquidity Events

Liquidity pool addition and removal events:
Sample Files
Download

Lending Protocol Data

Protocol Events

Raw lending, borrowing, and liquidation events from major DeFi protocols:
ProtocolBlockchainSample Files
Aave v2EthereumDownload
Aave v3EthereumDownload
Aave v3ArbitrumDownload
Aave v2AvalancheDownload
Aave v3AvalancheDownload
Aave v3OptimismDownload
Compound v2EthereumDownload
MakerDAOEthereumDownload

Daily Asset Metrics

Aggregated daily metrics for individual assets across protocols:
ProtocolBlockchainSample Files
Aave v2EthereumDownload
Aave v3EthereumDownload
Compound v2EthereumDownload
Compound v3EthereumDownload
MakerDAOEthereumDownload

Daily Protocol Metrics

Aggregated daily metrics for entire protocols:
ProtocolBlockchainSample Files
Aave v2EthereumDownload
Aave v3EthereumDownload
Compound v2EthereumDownload
Compound v3EthereumDownload
MakerDAOEthereumDownload

Daily Stablecoin Metrics

Focused metrics on stablecoin usage within lending protocols:
ProtocolBlockchainSample Files
Aave v2EthereumDownload
Aave v3EthereumDownload
Compound v2EthereumDownload
Compound v3EthereumDownload
MakerDAOEthereumDownload

Data Field Descriptions

Blockchain Data Fields

Transaction Fields

Ethereum-based Chains (Ethereum, Arbitrum, BNB Chain, Polygon):
FieldDescription
hashThe transaction hash
blockNumberThe block number containing the transaction
blockHashThe hash of the block containing the transaction
transactionIndexThe position of the transaction within the block
fromTransaction sender address
toTransaction recipient address
valueAmount transferred in Wei
gasGas limit set for the transaction
gasPriceGas price in Wei per gas unit
gasUsedActual gas consumed by the transaction
cumulativeGasUsedTotal gas used up to and including this transaction in the block
statusTransaction success (1) or failure (0) status
timestampBlock timestamp when transaction was confirmed
inputSmart contract function call data
contractAddressAddress of created contract (if transaction creates a contract)
nonceThe number of transactions sent by the sender address
typeTransaction type: 0 (legacy), 2 (EIP-1559)
Bitcoin/UTXO Chains:
FieldDescription
hashThe transaction hash
blockNumberThe block number containing the transaction
timestampBlock timestamp when transaction was confirmed
valueTotal transaction input value minus transaction fee
adjustedValueTotal amount received by the recipient address
feesThe transaction fee paid to miners
isCoinbaseIndicates if this is a coinbase transaction (mining reward)
transactionInputsArray of transaction inputs with addresses and amounts
transactionOutputsArray of transaction outputs with addresses and amounts

Transaction Logs Fields

Smart contract event data for Ethereum-based chains:
FieldDescription
addressThe contract address that emitted the log
topicsArray of indexed event parameters (up to 4 topics)
dataNon-indexed event parameters (ABI-encoded)
blockNumberBlock number containing the transaction
transactionHashHash of the transaction that generated this log
logIndexPosition of this log within the transaction

DeFi Data Fields

DEX Trade Fields

Comprehensive trading data from decentralized exchanges:
FieldDescription
exchangeThe name of the DEX (e.g., Uniswap, SushiSwap, PancakeSwap)
timestampTimestamp when Amberdata received the data
timestampNanosecondsThe nanosecond part of the timestamp where applicable
isBuyIndicates the direction of the trade: true means buy the base, sell the quote; false means sell the base, buy the quote
priceThe actual price at which the asset was traded (including slippage, but not fees)
volumeThe total amount of that asset that was traded
tradeIdThe exchange provided id of the trade
logIndexThe index of the log within the transaction which included this trade event
pairAddressThe address of the trading pair contract
amountInBaseThe amount of the base asset accepted in the trade
amountInQuoteThe amount of the quote asset accepted in the trade
amountOutBaseThe amount of the base asset returned in the trade
amountOutQuoteThe amount of the quote asset returned in the trade
fromAddressThe address which initiated the trade (sender)
toAddressThe recipient of the trade (receiver)

DEX Liquidity Fields

Liquidity pool events and changes:
FieldDescription
exchangeNameThe name of the DEX
pairAddressThe address of the trading pair contract
baseAddressThe address of the first underlying asset behind the pair
quoteAddressThe address of the second underlying asset behind the pair
addressThe address of the asset for which this liquidity event is for (either base or quote address)
timestampThe timestamp associated with this record
transactionHashThe hash of the transaction which included this liquidity event
amountThe new amount of the underlying asset after this liquidity event
liquidityPriceThe new price of the underlying asset after this liquidity event

Lending Protocol Fields

Protocol Events (Aave v2 & v3):
FieldDescription
accountThe EOA (Externally Owned Account) that triggered this event
actionThe event that the EOA triggered in the smart contract (deposit, withdraw, borrow, repay, liquidate, etc.)
amountNativeThe amount of the asset in native units, normalized with the asset’s decimals
amountUSDThe amount of the asset in US dollars
assetIdThe smart contract address of the asset
assetSymbolThe human readable, abbreviated name of the asset (e.g., ETH, USDC, DAI)
blockNumberThe integer value identifying the block
borrowRateThe interest rate for borrowing the asset
borrowRateModeIndicates whether the borrowRate is stable or variable
liquidateeThe EOA being liquidated because they are under-collateralized
liquidatorThe EOA that is triggering the liquidation
collateralAssetIdThe smart contract address of the collateral asset
collateralAssetSymbolThe human readable name of the collateral asset
principalAssetIdThe smart contract address of the borrowed asset
principalAssetSymbolThe human readable name of the borrowed asset
profitUSDThe amount in US dollars that the liquidator earned from triggering a liquidation
timestampIndicates the datetime or epoch milliseconds of when the event took place
transactionHashThe unique identifier of the transaction

Use Cases and Applications

Blockchain Analytics Applications

  • Transaction Analysis: Monitor and analyze on-chain activity patterns across multiple chains
  • Address Tracking: Follow wallet behaviors and fund flows for compliance and research
  • Smart Contract Analysis: Study contract interactions using transaction logs
  • Network Health: Monitor blockchain performance and congestion patterns
  • Compliance: AML/KYC analysis and regulatory reporting
  • MEV Research: Study Maximum Extractable Value opportunities and front-running patterns
  • Cross-Chain Analysis: Compare activity across different blockchain networks

DeFi Analytics Applications

  • DEX Trading Analysis: Study arbitrage opportunities, slippage patterns, and trading efficiency
  • Liquidity Pool Analysis: Calculate yield farming returns and impermanent loss patterns
  • Lending Protocol Analysis: Monitor interest rates, liquidations, and protocol health
  • Protocol Comparison: Compare efficiency and safety across different DeFi protocols
  • Yield Strategies: Optimize lending, borrowing, and liquidity provision strategies
  • Risk Assessment: Monitor lending protocol health and liquidation cascade risks
  • Stablecoin Research: Analyze peg stability and stablecoin usage across protocols

Cross-Domain Integration

  • On-Chain to DeFi Flow: Track how raw blockchain activity feeds into DeFi protocols
  • Gas Analysis: Study gas usage patterns across different DeFi activities
  • Address Classification: Identify DeFi protocol addresses and user behavior patterns
  • Market Impact: Correlate on-chain activity with DeFi protocol performance
  • Ecosystem Health: Monitor the entire DeFi ecosystem from blockchain fundamentals to protocol metrics

Supported Networks and Protocols

Blockchain Networks

  • Bitcoin: UTXO-based transactions, mempool data, and block information
  • Ethereum: Smart contracts, EVM transactions, and comprehensive event logs
  • Litecoin: UTXO transactions with faster block times
  • Arbitrum: Ethereum Layer 2 with optimistic rollup technology
  • Polygon: Ethereum-compatible sidechain with fast, low-cost transactions
  • BNB Chain: Binance Smart Chain with Ethereum-compatible smart contracts

DeFi Protocols

  • DEX Protocols: Uniswap, SushiSwap, PancakeSwap, Balancer, Curve
  • Lending Protocols: Aave v2/v3, Compound v2/v3, MakerDAO
  • Cross-Chain Coverage: Multi-chain deployments across Ethereum, Arbitrum, Optimism, Polygon, Avalanche

Getting Started

Basic Blockchain Analysis

import pandas as pd

# Load Ethereum transaction data
eth_txns = pd.read_csv('ETH_transactions_sample.csv')

# Analyze transaction patterns
print("Transaction volume by hour:")
eth_txns['hour'] = pd.to_datetime(eth_txns['timestamp']).dt.hour
volume_by_hour = eth_txns.groupby('hour')['value'].sum()
print(volume_by_hour)

# Gas usage analysis
print("\nAverage gas usage:")
avg_gas = eth_txns['gasUsed'].mean()
print(f"Average gas used: {avg_gas:.0f}")

DeFi Protocol Analysis

# Load DEX trade data
dex_trades = pd.read_parquet('dex_trades_sample.parquet')

# Analyze trading volume by exchange
volume_by_exchange = dex_trades.groupby('exchange')['volume'].sum()
print("Trading volume by DEX:")
print(volume_by_exchange)

# Load Aave protocol events
aave_events = pd.read_parquet('aave_protocol_events_sample.parquet')

# Analyze lending vs borrowing activity
activity_by_action = aave_events.groupby('action')['amountUSD'].sum()
print("\nLending protocol activity:")
print(activity_by_action)

Cross-Domain Analysis

# Combine blockchain and DeFi data
# Analyze gas costs for DeFi activities
def analyze_defi_gas_costs():
    # Load transaction logs for DeFi protocols
    defi_logs = pd.read_csv('ETH_transaction_logs_sample.csv')

    # Filter for major DeFi protocols
    aave_address = '0x...'  # Aave protocol address
    uniswap_address = '0x...'  # Uniswap protocol address

    defi_protocols = defi_logs[defi_logs['address'].isin([aave_address, uniswap_address])]

    # Join with transaction data to get gas costs
    transactions = pd.read_csv('ETH_transactions_sample.csv')
    defi_gas = defi_protocols.merge(transactions, on='transactionHash')

    # Calculate average gas costs by protocol
    gas_by_protocol = defi_gas.groupby('address')['gasUsed'].mean()
    print("Average gas usage by DeFi protocol:")
    print(gas_by_protocol)

analyze_defi_gas_costs()

Data Quality and Processing

Data Freshness

  • Real-time Processing: Near real-time data ingestion and processing
  • Historical Completeness: Complete historical data from network/protocol genesis
  • Cross-Chain Consistency: Standardized field formats across all networks
  • Quality Assurance: Automated validation and error checking

Technical Specifications

  • File Formats: Apache Parquet and CSV formats optimized for analytics
  • Compression: Efficient storage with fast query performance
  • Partitioning: Organized by date and blockchain/protocol for optimal access patterns
  • Schema Evolution: Backward-compatible updates as networks and protocols evolve

Access Information

Amazon S3 Access

  • Requirements: AWS credentials for Requester Pays bucket access
  • Setup: Include x-amz-request-payer: requester in all requests
  • Contact: Your Account Executive for credential provisioning

Support Resources

  • Technical Documentation: Comprehensive guides for blockchain and DeFi data
  • Sample Analysis: Python notebooks with common analysis patterns
  • Integration Support: Assistance with data pipeline setup and optimization
  • Research Community: Access to blockchain and DeFi research insights