Skip to main content

Fees by Type

Daily trading fees broken down by instruction type, with a stacked chart showing each operation's contribution and a table of the largest individual transactions.

Data

Loading analytics data...

Top Transactions

Loading analytics data...

Transaction Type Descriptions

TypeCategoryFee-generatingDescription
SwapAndOpenOpeningYesOpen position with input token swap
OpenPositionOpeningYesOpen position directly
IncreaseSizeOpeningYesIncrease existing position size
AddCollateralCollateralNoAdd margin to position
CloseAndSwapClosingYesClose position with output swap
ClosePositionClosingYesClose position directly
DecreaseSizeClosingYesPartial position close
RemoveCollateralCollateralNoRemove excess margin
ExecuteTriggerWithSwapTriggerYesExecute stop-loss/take-profit with swap
ExecuteTriggerOrderTriggerYesExecute trigger order
ExecuteLimitWithSwapTriggerYesExecute limit order with swap
ExecuteLimitOrderTriggerYesExecute limit order
LiquidateSystemYesLiquidate underwater positions

Collateral management operations (AddCollateral, RemoveCollateral) adjust a trader's margin without changing position size and do not generate protocol fees. They do not appear in the fee charts above.

Use Cases

This chart helps you:

  • Track fee trends: Monitor how each operation type's fee contribution changes over time
  • Identify top operations: See which trading operations generate the most fees
  • Assess operation mix: Determine if fees are concentrated in specific operations or distributed
  • Investigate specific types: Click a bar in the chart or a legend item to isolate a type and filter the transactions table

How to Read This Chart

Click to expand chart reading guide

Chart:

  • X-axis: Date (UTC days) from April 12, 2025 onwards
  • Y-axis: Fees in USDC (stacked)
  • Daily mode: Stacked bar chart showing each day's fees broken down by type. Bar height is the sum of all types for that day.
  • Cumulative mode: Stacked area chart showing running totals. Each band's top edge represents the cumulative total up to and including that type. Hover values show stacked heights, not isolated per-type totals.
  • Interactions:
    • Use the Daily/Cumulative toggle at the top right to switch views
    • Click a legend item to show or hide that type in the chart
    • Double-click a legend item to isolate a single type
    • Hover to see values per type

Top Transactions Table:

  • Date: When the transaction occurred (UTC)
  • Type: Trading operation type (OpenPosition, ClosePosition, etc.)
  • Pool: Which market the trade occurred in
  • Fee (USDC): Fee amount in USDC
  • Transaction: Signature (links to Solscan for detailed exploration)

Methodology

Click to expand technical details

Data Sources

  • Treasury transactions: On-chain data from the Flash.Trade stake pool authority
  • Fee extraction: Fee amounts extracted from transaction log entries
  • Type identification: Transaction types extracted from program instruction logs

Operation Categories

Flash.Trade operations can be grouped into categories:

CategoryOperationsDescription
OpeningSwapAndOpen, OpenPosition, IncreaseSizeOperations that open or increase positions
ClosingCloseAndSwap, ClosePosition, DecreaseSizeOperations that close or reduce positions
CollateralAddCollateral, RemoveCollateralMargin adjustments (no fees)
TriggerExecuteTriggerWithSwap, ExecuteTriggerOrder, ExecuteLimitWithSwap, ExecuteLimitOrderAutomated order executions
SystemLiquidateProtocol-initiated operations

Instruction Name Normalization

Instruction names are normalized by stripping version suffixes to ensure consistent grouping regardless of contract version.

Fee Attribution

Each fee-generating trading operation is attributed to its instruction type based on on-chain program logs. Fee amounts are stored internally as USDC atoms and converted to USDC (divide by 1,000,000) during the attribution pipeline, then aggregated by date and type.

Update Frequency

Data is automatically updated once per day. Check the "Last updated" timestamp in the site header for data freshness.

Known Limitations

  • Transaction table limited to top 10 entries per view
  • Some rare operations may not have color assignments (shown in gray)
  • New instruction variants may appear with full names until normalized