跳到正文

DEX 成交 API

使用 API key 通过 DEX Swaps API 按资金池或代币查询已索引成交,适用链以 GET /v1/status 的 dex_swaps 覆盖为准(当前为 Robinhood Chain);当前方法计价为每次 25 CU。

端点列表

方法路径说明每次调用 CU每百万次美元价免费额度约可调用(次/周期)
GET/{chain}/dex/swaps按资金池或代币列出 DEX 兑换25$2.501,200,000

免费档:账户下所有 key 合计平均每秒 25 次。

返回字段

GET/{chain}/dex/swaps

字段类型
protocolstring
pool_keystring
amount0string
amount1string
sqrt_price_x96string
liquiditystring
tickinteger
lp_feeinteger | null
senderstring
recipientstring | null
block_numberinteger
block_timestampstring
tx_hashstring
tx_indexinteger
log_indexinteger

可用网络

查看实时状态 →

快速示例

curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/dex/swaps?pool={pool}" -H "x-api-key: {api_key}"

相关文档

免费试用本数据集

注册即得 30M CU,每 30 天自动补足。

Data API 只对成功响应计费。