Add Solana Swap API monetization guide#262
Open
jlin27 wants to merge 7 commits into
Open
Conversation
Add a new "Monetize Your App on Solana" guide covering the two monetization mechanisms now available on the Solana Swap API: - Affiliate fees (swap_fee_ppm / swap_fee_recipient / swap_fee_side), including multi-fee/multi-recipient requests, buy vs sell side, ppm-vs-bps, sequential fee compounding, fee recipient account requirements, and the per-app fee cap. - Trade surplus capture (trade_surplus_cap_ppm / trade_surplus_recipient). Also: - Register the guide in the Solana Swap API nav. - Disambiguate both monetization guide titles: "Monetize Your App on Solana" and "Monetize Your App on EVM". - Fix stale Solana Swap Instructions API-reference links (the .../solana-swap/solana-swap-swap-instructions path 404s) in important-integration-notes, faq, and api-reference-overview.
|
🌿 Preview your docs: https://0x-preview-538a8c3f-4c7d-4890-912d-7a15b943d265.docs.buildwithfern.com Here are the markdown pages you've updated: |
…nal trade-plan shape
…na monetization guide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Monetize Your App on Solana guide documenting the monetization controls now available on the Solana Swap API (volume-based affiliate fees), and cleans up related navigation and stale API-reference links.
Note on trade surplus
Per GTM decision, trade surplus will not be publicly presented as a monetization option for Solana.
Changes
solana-swap-api/guides/monetize-your-app.mdx, mirroring the structure of the EVM monetize guide but adapted to Solana's POST/JSON, snake_case, ppm-based API:swap_fee_ppm,swap_fee_recipient,swap_fee_side; single- and multi-fee/multi-recipient examples; buy vs sell side behavior; ppm-vs-bps note; sequential fee compounding; fee recipient account requirements; per-app fee cap (default 100,000 ppm / 10%, enforced per entry).…/solana-swap/solana-swap-swap-instructions404s in production; updated links to…/swap/instructions(with#request.body.*anchors) inimportant-integration-notes.mdx,faq.mdx, andapi-reference-overview.mdx.Testing
fern checkpasses.fern docs dev