Skip to content

Add SQL script for calculating partner fees and USD values#356

Open
matsai5 wants to merge 3 commits into
mainfrom
partner_fees_template
Open

Add SQL script for calculating partner fees and USD values#356
matsai5 wants to merge 3 commits into
mainfrom
partner_fees_template

Conversation

@matsai5

@matsai5 matsai5 commented May 26, 2026

Copy link
Copy Markdown
Contributor

This SQL script calculates partner fees, splitting them into volume and price improvement components, and converts them into USD values based on native token prices.
To be shared with partners who want to have per trade data and build reports themselves.

This SQL script calculates partner fees, splitting them into volume and price improvement components, and converts them into USD values based on native token prices.
To be shared with partners who want to have per trade data and build reports themselves.
@matsai5 matsai5 requested a review from data-cowwboy May 26, 2026 13:48
@github-actions

Copy link
Copy Markdown

Are you sure you want to use the legacy prices.usd table? Consider using prices.minute (https://docs.dune.com/data-catalog/curated/prices/overview)


Caused by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant