crypto-execution-costs
收藏资源简介:
Crypto execution costs 数据集记录了实际链上移动资金的成本,按报价时点存储。数据涵盖三个维度:DEX聚合器(LI.FI、KyberSwap、CoW)的交换报价、零售法币入金(如Mercuryo、Ramp等)报价、以及L2(Optimism、Base等)从序列器承诺到L1确认的时间。数据集包含六个子表:e10_quote_benchmark(每条记录为一次固定规模的交换报价,包含费用拆分)、e17_perp_depth(永续合约DEX的订单簿快照,包括价差、层级数量及距中间价一定基点内的未平仓名义值)、e16_dex_routes(路由选择的单条腿:场所、池子、金额及交易拆分场所数)、e12_onramp_quotes(零售法币入金报价,买入或卖出)、e14_l2_preconf(L2心跳或序列器承诺被链替换的记录)、e0_run_manifest(每个采集窗口的轮询计数、失败计数及覆盖计数器)。数据规模在10K到100K行之间,以Parquet文件格式存储,按采集窗口分区(dataset/YYYY/MM/),当前版本仅包含2026年8月25日至31日共7天的固定样本,用于检查模式、覆盖和质量。完整历史数据私有,可请求获取。该数据集适用于时间序列预测、去中心化金融(DeFi)执行成本分析、流动性深度研究、法币入金市场比较等任务。使用注意事项包括:路由数据基于假设交易,不反映真实成交;深度数据为快照而非逐笔,可能遗漏快速反转;报价反映聚合器行为而非可执行价格;法币入金数据仅覆盖1.5个提供商,非全面市场调查;L2心跳数据中安全标签可能存在延迟。
The Crypto execution costs dataset records the actual costs of moving funds on-chain, stored at the time of quoting. The data covers three dimensions: swap quotes from DEX aggregators (LI.FI, KyberSwap, CoW), retail fiat on-ramp quotes (e.g., Mercuryo, Ramp, etc.), and L2 (Optimism, Base, etc.) time from sequencer commitment to L1 confirmation. The dataset contains six sub-tables: e10_quote_benchmark (each record is a swap quote of fixed size with fee breakdown), e17_perp_depth (order book snapshots of perpetual DEXs including spread, number of levels, and open notional value within certain basis points from mid-price), e16_dex_routes (single leg of route selection: venue, pool, amount, and number of split venues), e12_onramp_quotes (retail fiat on-ramp quotes, buy or sell), e14_l2_preconf (records of L2 heartbeat or sequencer commitment replaced by chain), e0_run_manifest (poll count, failure count, and coverage counter per collection window). Data size ranges from 10K to 100K rows, stored in Parquet format, partitioned by collection window (dataset/YYYY/MM/). The current version only contains a fixed 7-day sample from August 25 to 31, 2026, for inspecting schema, coverage, and quality. Full historical data is private and available upon request. This dataset is suitable for tasks such as time series forecasting, decentralized finance (DeFi) execution cost analysis, liquidity depth research, and fiat on-ramp market comparison. Usage notes: route data is based on hypothetical trades and does not reflect actual fills; depth data is snapshots not tick-by-tick, may miss fast reversals; quotes reflect aggregator behavior not executable prices; fiat on-ramp data covers only 1.5 providers, not a comprehensive market survey; L2 heartbeat data may have delayed safety labels.
Crypto execution costs 数据集概述
数据集简介
该数据集记录了链上资金转移的实际成本,以实时报价的形式呈现,涵盖三个维度:DEX聚合器的交换报价、法币入金(on-ramp)报价,以及L2从排序器承诺到L1确认所需的时间。报价按请求实时计算,无人存储历史记录。
数据内容与结构
数据集包含以下表:
| 表名 | 每行含义 |
|---|---|
e10_quote_benchmark |
LI.FI、KyberSwap或CoW的单一交换报价,固定规模,费用单独拆分 |
e17_perp_depth |
永续DEX的订单簿快照:价差、档位数量,以及距中间价5/10/25/50/100基点的挂单名义价值 |
e16_dex_routes |
路由器选择的路径中的一条腿:交易场所、池、金额,以及交易拆分的场所数量 |
e12_onramp_quotes |
零售法币入金报价(买入或卖出) |
e14_l2_preconf |
L2心跳数据(不安全头与安全头)或链替换的排序器承诺 |
e0_run_manifest |
一次收集窗口:轮询计数、失败计数、覆盖率计数 |
数据以Parquet格式存储,按收集窗口分区,路径为 dataset/YYYY/MM/。仓库包含固定的7天样本(2026-08-25至2026-08-31),用于检查schema、覆盖率和质量。完整历史数据以私有方式存储,可按需获取。
重要注意事项
e16_dex_routes:记录的是为未实际执行的交易而选择的路由。仅KyberSwap提供路径分解信息,其他场所仅提供名称。交易规模增大时,路由拆分明显扩大。e17_perp_depth:覆盖Aevo和Paradex,这两家未被Tardis(记录64家交易所)收录,且两家场所不提供自身历史数据。行为轮询间隔时刻的快照,而非逐笔级别数据;在价差大于带宽时深度值正确为零。- 报价为聚合商提供的数据,并不代表实际可成交价格,应视为提供商行为而非套利机会。
- LI.FI 费用:LI.FI按所有规模收取约25个基点的固定费用,
fee_usd字段将费用单独拆分,应结合价格与费用一同解读。 - 法币入金面板较薄弱:仅Mercuryo和Ramp提供完整或参考报价,MoonPay、Transak、Guardarian和Mt Pelerin需要密钥,整体覆盖约1.5个提供商。
e14数据:仅violation行是难以从其他来源获取的数据。心跳延迟可从L2区块时间戳和L1批次时间重建,应将其视为覆盖证明而非稀缺数据。- Optimism 公共端点的
safe标签存在滞后问题(落后数千万区块,而Base仅落后十几个),行中带有safe_tag_plausible字段以标识此情况。 - 覆盖间隙是真实的:窗口之间的间隙无法事后填补,数据无插值。
数据集规模与许可
- 规模:10K~100K行。
- 任务类型:时序预测(time-series forecasting)。
- 许可:ODC-BY,可自由使用,需注明来源为"DataForge (dataforge-labs)"。
- 获取完整历史:可通过讨论区(discussions tab)提出请求。





