docs(swap): document the --refuel flag for cross-chain bridges#19
Merged
Conversation
Add the --refuel flag to the swap command reference (quote + execute), a dedicated Refuel section, the bridge workflows, and the SKILL.md validation and confirmation tables. Key caveats documented: refuel is opt-in and cross-chain only, is best-effort across aggregators, and must not be used when the destination token is the destination chain's native gas asset (the backend returns 0 quotes / NO_QUOTES in that case).
chaitanyapotti
approved these changes
Jun 23, 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.
Summary
Documents the
--refuelflag for cross-chain bridges across the swap skill surface. Refuel bundles a small destination native-gas top-up into a cross-chain quote so the recipient lands with gas even when their destination native balance is zero.Pairs with the SDK/CLI support in MetaMask/agentic#204.
Changes
references/swap.md—--refueladded to theswap quoteandswap executesyntax + flag tables, a worked example, a dedicated Refuel section, and a usage note.workflows/bridge.md(bothmetamask-agent-walletandmetamask-agent-workflows) —--refueloption in the quote step, confirmation checklist, and an edge-case entry.SKILL.md—--refuelrow in the input-validation table and the swaps/bridges confirmation row.Key caveats documented
NO_QUOTES); only use--refuelwhen bridging into a non-native token.