API referenceChain
Chain Fees
Last updated
Fetch fee/tip market analytics — a per-UTC-day fee series (totals, averages, and exact ordered-offset medians) plus a windowed top-fee-payer list — over a 7d or 30d window, optionally scoped to one pallet with ?call_module=. Computed live from the first-party extrinsics D1 tier (#1988); schema-stable day_count:0 + empty lists when cold.
Query Parameters
window?string
Value in
- "7d"
- "30d"
limit?integer
Range
1 <= value <= 100call_module?string
Length
length <= 100format?string
Response format override. Use csv to download the daily fee series as text/csv; json (default) keeps the response envelope (which also carries top_fee_payers).
Value in
- "json"
- "csv"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/chain/fees"{ "data": { "daily": [ { "avg_fee_tao": 0.5, "avg_tip_tao": 0.5, "day": "2026-06-01", "extrinsic_count": 1, "median_fee_tao": 0.5, "median_tip_tao": 0.5, "total_fee_tao": 0.5, "total_tip_tao": 0.5 } ], "day_count": 1, "observed_at": "2026-06-01T00:00:00.000Z", "schema_version": 1, "top_fee_payers": [ { "extrinsic_count": 1, "signer": "example", "total_fee_tao": 0.5, "total_tip_tao": 0.5 } ], "window": "30d" }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}