docs: add conditional sponsorship rules guide under sponsor gas#1013
Merged
avarobinson merged 5 commits intomainfrom Feb 12, 2026
Merged
docs: add conditional sponsorship rules guide under sponsor gas#1013avarobinson merged 5 commits intomainfrom
avarobinson merged 5 commits intomainfrom
Conversation
🌿 Documentation Preview
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bcb2221862
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
avarobinson
commented
Feb 12, 2026
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
| * **Max transactions per user**: Limit number of sponsored transactions per user | ||
| * **Sender allowlist / blocklist**: Explicitly allow or deny sponsorship for selected senders | ||
|
|
||
| These limits are ideal for growth campaigns, onboarding credits, and controlled rollouts. |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| These limits are ideal for growth campaigns, onboarding credits, and controlled rollouts. |
|
|
||
| 1. Start with built-in limits for immediate spend protection | ||
| 2. Add webhook rules for business-specific checks | ||
| 3. Decide your failure mode (`approveOnFailure`) based on risk tolerance: |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| 3. Decide your failure mode (`approveOnFailure`) based on risk tolerance: |
| 1. Start with built-in limits for immediate spend protection | ||
| 2. Add webhook rules for business-specific checks | ||
| 3. Decide your failure mode (`approveOnFailure`) based on risk tolerance: | ||
| * Prefer uptime: set to `true` |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| * Prefer uptime: set to `true` |
| 2. Add webhook rules for business-specific checks | ||
| 3. Decide your failure mode (`approveOnFailure`) based on risk tolerance: | ||
| * Prefer uptime: set to `true` | ||
| * Prefer strict control: set to `false` |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| * Prefer strict control: set to `false` |
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx
Outdated
Show resolved
Hide resolved
…sponsorship-rules.mdx
…sponsorship-rules.mdx
…sponsorship-rules.mdx
SahilAujla
approved these changes
Feb 12, 2026
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.
Motivation
Description
fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdxthat documents built-in policy limits, webhook-based custom rules, request/response examples, and recommended setup patterns.fern/wallets/pages/transactions/sponsor-gas/overview.mdx.fern/docs.ymlunder the Transactions → Sponsor gas section.Testing
pnpm -s prettier --checkagainst the changed files (fern/wallets/pages/transactions/sponsor-gas/conditional-sponsorship-rules.mdx,fern/wallets/pages/transactions/sponsor-gas/overview.mdx,fern/docs.yml) and it passed.pnpm -s fern:checkwhich failed in this environment due to external/network-related Fern telemetry and missing pre-generated specs unrelated to the docs edits, so it did not indicate issues with the content changes.Codex Task