Skip to content

Files

Latest commit

 

History

History
141 lines (85 loc) · 15.1 KB

datasets.md

File metadata and controls

141 lines (85 loc) · 15.1 KB
description
All data and datasets currently available in Spice

Datasets

{% hint style="success" %} New datasets are added every week, so this list is just the start. Get in touch on Discord to suggest more. We're just getting started! {% endhint %}

Datasets for SQL Query

Explore SQL-queryable datasets organized by chain and data type, each with representative tables. Click the section header links for more information and complete table listings.

Blockseth.blockseth.recent_blocks
Transactionseth.transactionseth.recent_transactions
Logseth.logseth.recent_logs
Contractseth.contracts
Traceseth.traceseth.recent_traces
Withdrawalseth.withdrawalseth.recent_withdrawals

Ethereum Token datasets

Contracts (erc20, erc721, erc1155)eth.contracts
Tokens (erc20, erc721, erc1155)eth.tokens
Token Transfers (erc20, erc721, erc1155)eth.token_transferseth.recent_token_transfers
Token Mints (erc20, erc721, erc1155)eth.token_mintseth.recent_token_mints

Ethereum NFT datasets

NFTseth.nfts
NFT Contractseth.nft_contracts
NFT Transfers (with optional hold time)eth.nft_transferseth.recent_nft_transfers
NFT Ownerseth.nft_owners
NFT Airdrop Transferseth.nft_airdrop_transferseth.recent_nft_airdrop_transfers

Ethereum Wallet Balances datasets

A block-level view of all changes to any account's Ether balance eth.wallet_balances eth.recent_wallet_balances

Ethereum Uniswap datasets

Uniswap V2 Poolseth.uniswap_v2.pools
Uniswap V2 Pool Statistics (reserves and price info)eth.uniswap_v2.pool_stats
Uniswap V2 Events (swaps, mints, burns, etc)eth.uniswap_v2.event_swapseth.uniswap_v2.recent_event_swaps
Uniswap V3 Poolseth.uniswap_v3.pools
Uniswap V3 Pool Statistics (reserves and price info)eth.uniswap_v3.pool_stats
Uniswap V3 Events (swaps, mints, burns, etc)eth.uniswap_v3.event_swapseth.uniswap_v3.recent_event_swaps

Ethereum Sushiswap datasets

Sushiswap Pools eth.sushiswap.pools
Sushiswap Pool Statistics (reserves and price info) eth.sushiswap.pool_stats
Sushiswap Events (swaps, mints, burns, etc) eth.sushiswap.event_swaps eth.sushiswap.recent_event_swaps

Ethereum Name Service (ENS) datasets

ENS Domainsens.domains

Ethereum Beacon Chain datasets

Validatorseth.beacon.validators
Slotseth.beacon.slotseth.beacon.recent_slots
Attestationseth.beacon.attestationseth.beacon.recent_attestations
Depositseth.beacon.depositseth.beacon.recent_deposits
Voluntary Exitseth.beacon.voluntary_exitseth.beacon.recent_voluntary_exits
Attester Slashingseth.beacon.attester_slashingseth.beacon.recent_attester_slashings
Proposer Slashingseth.beacon.proposer_slashingseth.beacon.recent_proposer_slashings
BLS To Execution Changeseth.beacon.bls_to_execution_changeseth.beacon.recent_bls_to_execution_changes
Withdrawalseth.beacon.withdrawalseth.beacon.recent_withdrawals
Loans (historical) eth.aave_v2.loan_updates eth.aave_v2.recent_loan_updates
Collateral (historical) eth.aave_v2.collateral_updates eth.aave_v2.recent_collateral_updates
Loans (latest view) eth.aave_v2.loans
Collateral (latest view) eth.aave_v2.collateral
Blocksgoerli.blocksgoerli.recent_blocks
Transactionsgoerli.transactionsgoerli.recent_transactions
Logsgoerli.logsgoerli.recent_logs
Contractsgoerli.contracts
Tracesgoerli.tracesgoerli.recent_traces
Withdrawalsgoerli.withdrawalsgoerli.recent_withdrawals
Contracts (erc20, erc721, erc1155)goerli.contracts
Tokens (erc20, erc721, erc1155)goerli.tokens
Token Transfers (erc20, erc721, erc1155)goerli.token_transfersgoerli.recent_token_transfers
Token Mints (erc20, erc721, erc1155)goerli.token_mintsgoerli.recent_token_mints
A block-level view of all changes to any account's Ether balance goerli.wallet_balances goerli.recent_wallet_balances
Validatorsgoerli.beacon.validators
Slotsgoerli.beacon.slotsgoerli.beacon.recent_slots
Attestationsgoerli.beacon.attestationsgoerli.beacon.recent_attestations
Depositsgoerli.beacon.depositsgoerli.beacon.recent_deposits
Voluntary Exitsgoerli.beacon.voluntary_exitsgoerli.beacon.recent_voluntary_exits
Attester Slashingsgoerli.beacon.attester_slashingsgoerli.beacon.recent_attester_slashings
Proposer Slashingsgoerli.beacon.proposer_slashingsgoerli.beacon.recent_proposer_slashings
BLS To Execution Changesgoerli.beacon.bls_to_execution_changesgoerli.beacon.recent_bls_to_execution_changes
Withdrawalsgoerli.beacon.withdrawalsgoerli.beacon.recent_withdrawals
Blockspolygon.blockspolygon.recent_blocks
Transactionspolygon.transactionspolygon.recent_transactions
Logspolygon.logspolygon.recent_logs
Contractspolygon.contracts
Tracespolygon.tracespolygon.recent_traces

Polygon Token Datasets

Contracts (erc20, erc721, erc1155)polygon.contracts
Tokens (erc20, erc721, erc1155)polygon.tokens
Token Transfers (erc20, erc721, erc1155)polygon.token_transferspolygon.recent_token_transfers
Token Mints (erc20, erc721, erc1155)polygon.token_mintspolygon.recent_token_mints

Polygon NFT Datasets

NFTspolygon.nfts
NFT Contractspolygon.nft_contracts
NFT Transfers (with optional hold time)polygon.nft_transferspolygon.recent_nft_transfers
NFT Ownerspolygon.nft_owners
NFT Airdrop Transferspolygon.nft_airdrop_transferspolygon.recent_nft_airdrop_transfers

Bitcoin datasets

Blocksbtc.blocksbtc.recent_blocks
Transactionsbtc.transactionsbtc.recent_transactions
Transaction Inputsbtc.transaction_inputsbtc.recent_transaction_inputs
Transaction Outputsbtc.transaction_outputsbtc.recent_transaction_outputs
Blocksflow.blocksflow.recent_blocks
Transactionsflow.transactionsflow.recent_transactions
Eventsflow.eventsflow.recent_events

Flow Token/NFT datasets

NFTsflow.nfts
NFT Transfersflow.nft_transfersflow.recent_nft_transfers
Fungible Token Transfersflow.token_transfersflow.recent_token_transfers

Historical OHLC cryptocurrency and token prices are available for SQL query at 1 minute granularity. ~2,000 token pairs are currently available sourced from centralized exchanges like Coinbase, Gemini, and Binance, and decentralized exchanges like Uniswap and Sushiswap. More pais are automatically added each day as they are listed on the exchanges.

To see all pairs available for query:

SHOW TABLES IN prices;

{% hint style="info" %} For historical price exchange data to tick level granularity, try the time-series Prices API. {% endhint %}

Prices (historical) eth.chainlink.prices eth.chainlink.recent_prices

Time-series Datasets

  • Binance
    • Spot/latest prices for all pairs traded on Binance.
    • Historical OHLC prices at 1-min granularity for all pairs.
  • Coinbase
    • Spot/latest prices for all pairs traded on Coinbase.
    • Historical OHLC prices at 1-min granularity for all pairs.
  • Gemini
    • Spot/latest prices for all pairs traded on Gemini.
    • Partial historical OHLC prices at 1-min granularity for all pairs.

JSON RPC Methods