flows-and-events

Installation
SKILL.md

DeFi Flows and Events

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)
  • inflows = deposit_amount - withdraw_amount (pre-computed, positive = net inflow)
  • Params: bridge, chain, period, start_date, end_date, sort_by, limit

ETF Flows

Tool: defillama:get_etf_flows

  • flow_usd is signed: positive = inflow, negative = outflow
  • Filter by underlying: token: "bitcoin" for all BTC ETFs, token: "ethereum" for ETH ETFs
  • Use etf param to filter specific ETF (e.g., "ibit", "fbtc")
  • Current view shows latest day only. Use period: "30d" for historical.
Installs
192
GitHub Stars
19
First Seen
Mar 26, 2026
flows-and-events — defillama/defillama-skills