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
Top Transactions
Transaction Type Descriptions
| Type | Category | Fee-generating | Description |
|---|---|---|---|
| SwapAndOpen | Opening | Yes | Open position with input token swap |
| OpenPosition | Opening | Yes | Open position directly |
| IncreaseSize | Opening | Yes | Increase existing position size |
| AddCollateral | Collateral | No | Add margin to position |
| CloseAndSwap | Closing | Yes | Close position with output swap |
| ClosePosition | Closing | Yes | Close position directly |
| DecreaseSize | Closing | Yes | Partial position close |
| RemoveCollateral | Collateral | No | Remove excess margin |
| ExecuteTriggerWithSwap | Trigger | Yes | Execute stop-loss/take-profit with swap |
| ExecuteTriggerOrder | Trigger | Yes | Execute trigger order |
| ExecuteLimitWithSwap | Trigger | Yes | Execute limit order with swap |
| ExecuteLimitOrder | Trigger | Yes | Execute limit order |
| Liquidate | System | Yes | Liquidate 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:
| Category | Operations | Description |
|---|---|---|
| Opening | SwapAndOpen, OpenPosition, IncreaseSize | Operations that open or increase positions |
| Closing | CloseAndSwap, ClosePosition, DecreaseSize | Operations that close or reduce positions |
| Collateral | AddCollateral, RemoveCollateral | Margin adjustments (no fees) |
| Trigger | ExecuteTriggerWithSwap, ExecuteTriggerOrder, ExecuteLimitWithSwap, ExecuteLimitOrder | Automated order executions |
| System | Liquidate | Protocol-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