flows-and-events
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDeFi Flows and Events
DeFi流量与事件
Bridge Flows
桥接流量
Tool:
defillama:get_bridge_flows- Two-way bridge deduplication is applied automatically when aggregating
- Grain: bridge x chain (one row per bridge per chain)
- (pre-computed, positive = net inflow)
inflows = deposit_amount - withdraw_amount - Params: ,
bridge,chain,period,start_date,end_date,sort_bylimit
工具:
defillama:get_bridge_flows- 聚合时会自动应用双向桥接去重
- 粒度:桥接 x 链(每个桥接每条链对应一行数据)
- (已预先计算,正数表示净流入)
inflows = deposit_amount - withdraw_amount - 参数:,
bridge,chain,period,start_date,end_date,sort_bylimit
ETF Flows
ETF资金流
Tool:
defillama:get_etf_flows- is signed: positive = inflow, negative = outflow
flow_usd - Filter by underlying: for all BTC ETFs,
token: "bitcoin"for ETH ETFstoken: "ethereum" - Use param to filter specific ETF (e.g.,
etf,"ibit")"fbtc" - Current view shows latest day only. Use for historical.
period: "30d"
工具:
defillama:get_etf_flows- 为带符号数值:正数表示流入,负数表示流出
flow_usd - 可按标的过滤:筛选所有BTC ETF,
token: "bitcoin"筛选ETH ETFtoken: "ethereum" - 使用参数筛选特定ETF(例如
etf,"ibit")"fbtc" - 默认仅显示最新单日数据,使用可查看历史数据
period: "30d"
Stablecoin Supply
稳定币供应量
Tool:
defillama:get_stablecoin_supply- Supply = issuance on each chain, NOT DeFi deposits
- Grain: stablecoin x chain (one row per stablecoin per chain)
- Use (not
circulating_supply) for supply queriestotal_supply - Filter by (usd, eur)
peg_type - Params: ,
stablecoin,chain,peg_type,period,sort_bylimit
工具:
defillama:get_stablecoin_supply- 供应量指各链上的发行量,而非DeFi存款量
- 粒度:稳定币 x 链(每个稳定币每条链对应一行数据)
- 查询供应量时请使用(而非
circulating_supply)total_supply - 可按筛选(usd、eur)
peg_type - 参数:,
stablecoin,chain,peg_type,period,sort_bylimit
Institutional Holdings (DAT)
机构持仓(DAT)
Tool:
defillama:get_dat_holdings- Tokens are automatically prefixed with if not already (e.g.,
coingecko:works)token: "bitcoin" - Base response: institution overview (total value, cost, mNAV ratios)
- adds historical holding snapshots
include_history: true - adds mNAV time series
include_mnav: true - filters history by transaction type (e.g.,
transaction_type,"purchase")"sale"
mNAV (multiple of Net Asset Value) -- measures crypto exposure relative to market cap:
- : conservative estimate
realized_mnav - : expected dilution
realistic_mnav - : maximum dilution
max_mnav - mNAV > 1 means crypto holdings exceed the company's market cap attribution
工具:
defillama:get_dat_holdings- 若代币未添加前缀,系统会自动添加(例如
coingecko:可正常使用)token: "bitcoin" - 基础响应:机构概况(总价值、成本、mNAV比率)
- 会添加历史持仓快照
include_history: true - 会添加mNAV时间序列数据
include_mnav: true - 可按交易类型筛选历史记录(例如
transaction_type,"purchase")"sale"
mNAV(净资产价值倍数)——衡量加密资产相对于市值的敞口:
- : 保守估算值
realized_mnav - : 预期稀释值
realistic_mnav - : 最大稀释值
max_mnav - mNAV > 1表示加密资产持仓超过公司市值对应的归属部分
Hacks and Exploits
黑客攻击与漏洞利用
Tool: with
defillama:get_eventsevent_type: "hacks"- Filter by (victim slug),
protocol(useschainfor array column),= ANY(chains)min_amount - shows how much was recovered after the hack
returned_funds - Use for biggest hacks
sort_by: "amount desc"
工具: ,搭配
defillama:get_eventsevent_type: "hacks"- 可按(受害项目缩写)、
protocol(对数组列使用chain)、= ANY(chains)筛选min_amount - 显示攻击后追回的资金量
returned_funds - 使用可查看金额最大的攻击事件
sort_by: "amount desc"
Fundraising Rounds
融资轮次
Tool: with
defillama:get_eventsevent_type: "raises"- Filter by ,
protocol(useschainfor array column),= ANY(chains)min_amount - Use for largest rounds
sort_by: "amount desc"
工具: ,搭配
defillama:get_eventsevent_type: "raises"- 可按、
protocol(对数组列使用chain)、= ANY(chains)筛选min_amount - 使用可查看金额最大的融资轮次
sort_by: "amount desc"
Protocol Events
协议事件
Tool: with
defillama:get_eventsevent_type: "protocol_events"- Governance votes, upgrades, launches, and other protocol milestones
- Additional filters: (filter by target type),
target_type(filter by sub-protocol slug)sub_protocol
工具: ,搭配
defillama:get_eventsevent_type: "protocol_events"- 涵盖治理投票、版本升级、项目上线及其他协议里程碑事件
- 额外筛选条件:(按目标类型筛选)、
target_type(按子项目缩写筛选)sub_protocol
CEX Volumes
CEX交易量
Tool:
defillama:get_cex_volumes- CEX slugs differ from common names: binance -> , huobi ->
binance-cex, gate.io ->htxgate-io - Params: ,
cex,period,sort_bylimit
工具:
defillama:get_cex_volumes- CEX缩写与常用名称不同:binance -> ,huobi ->
binance-cex,gate.io ->htxgate-io - 参数:,
cex,period,sort_bylimit
Open Interest
未平仓合约量
Tool:
defillama:get_open_interest- Aggregates with SUM/GROUP BY for proper protocol-level totals
- Params: ,
protocol,chain,period,start_date,end_date,sort_bylimit
工具:
defillama:get_open_interest- 通过SUM/GROUP BY聚合以获取准确的协议级总量
- 参数:,
protocol,chain,period,start_date,end_date,sort_bylimit
Treasury
金库
Tool:
defillama:get_treasury- Aggregates with SUM/GROUP BY for proper protocol-level totals
- is the realistic value (excludes inflation of protocol's own token)
treasury_excl_own_token - includes own token (inflated value)
treasury_total - Params: ,
treasury(for per-chain breakdown),chain,period,start_date,end_date,sort_bylimit
工具:
defillama:get_treasury- 通过SUM/GROUP BY聚合以获取准确的协议级总量
- 为实际价值(排除协议原生代币的通胀影响)
treasury_excl_own_token - 包含原生代币(含通胀价值)
treasury_total - 参数:,
treasury(用于按链拆分),chain,period,start_date,end_date,sort_bylimit
Examples
示例
Example 1:
User: "Bitcoin ETF flows this month"
Tool call:
defillama:get_etf_flows(token: "bitcoin", period: "30d")Example 2:
User: "MicroStrategy bitcoin holdings"
Tool call:
defillama:get_dat_holdings(institution: "microstrategy", token: "coingecko:bitcoin", include_history: true)Example 3:
User: "Biggest DeFi hacks in 2024"
Tool call:
defillama:get_events(event_type: "hacks", sort_by: "amount desc", limit: 10, start_date: "2024-01-01", end_date: "2024-12-31")Example 4:
User: "USDT supply across chains"
Tool call:
defillama:get_stablecoin_supply(stablecoin: "coingecko:tether", sort_by: "circulating_supply desc")Example 5:
User: "Top bridge volume this week"
Tool call:
defillama:get_bridge_flows(period: "7d", sort_by: "volume desc", limit: 10)Example 6:
User: "Largest crypto fundraises this year"
Tool call:
defillama:get_events(event_type: "raises", period: "365d", sort_by: "amount desc", limit: 20)Example 7:
User: "Binance trading volume"
Tool call:
defillama:get_cex_volumes(cex: "binance-cex")Example 8:
User: "Uniswap treasury breakdown"
Tool call:
defillama:get_treasury(treasury: "uniswap")Example 9:
User: "ETF flows in February 2025"
Tool call:
defillama:get_etf_flows(token: "bitcoin", start_date: "2025-02-01", end_date: "2025-02-28")示例1:
用户: "本月比特币ETF资金流"
工具调用:
defillama:get_etf_flows(token: "bitcoin", period: "30d")示例2:
用户: "MicroStrategy的比特币持仓"
工具调用:
defillama:get_dat_holdings(institution: "microstrategy", token: "coingecko:bitcoin", include_history: true)示例3:
用户: "2024年金额最大的DeFi黑客攻击事件"
工具调用:
defillama:get_events(event_type: "hacks", sort_by: "amount desc", limit: 10, start_date: "2024-01-01", end_date: "2024-12-31")示例4:
用户: "各链上USDT的供应量"
工具调用:
defillama:get_stablecoin_supply(stablecoin: "coingecko:tether", sort_by: "circulating_supply desc")示例5:
用户: "本周交易量最高的桥接"
工具调用:
defillama:get_bridge_flows(period: "7d", sort_by: "volume desc", limit: 10)示例6:
用户: "今年规模最大的加密货币融资轮次"
工具调用:
defillama:get_events(event_type: "raises", period: "365d", sort_by: "amount desc", limit: 20)示例7:
用户: "Binance的交易量"
工具调用:
defillama:get_cex_volumes(cex: "binance-cex")示例8:
用户: "Uniswap金库明细"
工具调用:
defillama:get_treasury(treasury: "uniswap")示例9:
用户: "2025年2月的ETF资金流"
工具调用:
defillama:get_etf_flows(token: "bitcoin", start_date: "2025-02-01", end_date: "2025-02-28")