Skip to content

docs(fees): explain options for paying gas in tokens - #2117

Open
youssefea wants to merge 4 commits into
masterfrom
docs/devrel-859-erc-20-b20-gas-payment-partner
Open

youssefea wants to merge 4 commits into
masterfrom
docs/devrel-859-erc-20-b20-gas-payment-partner

Conversation

@youssefea

Copy link
Copy Markdown
Contributor

What changed? Why?

Adds a "Paying Gas in Tokens" section to docs/specifications/transactions/network-fees.mdx. It explains that Base charges fees in ETH, that B20 doesn't add a protocol-level fee token, that CDP Paymaster's ERC-20 gas payment currently lists only USDC on Base, and that Base Transactions (EIP-8430) token gas payments are planned for Everest, with activation dates still TBD.

This closes Base Knowledge Base gap gap-20260930-erc-20-b20-gas-payment-partner: "Can a partner's own ERC-20 or B20 token be used to pay transaction gas on Base (native fee-token support in B20, or an ERC-20 paymaster), and if so what is the supported mechanism and any restrictions?"

Notes to reviewers

Primary sources for each fact:

  • CDP Paymaster ERC-20 gas payment lists only USDC on Base ("Additional tokens coming soon"): https://docs.cdp.coinbase.com/paymaster/guides/erc20-gas-payments
  • B20 is a superset of ERC-20, and neither page describes a fee-token feature: docs/upgrades/beryl/b20.mdx (ERC-20 Compatibility)
  • Base Transactions token gas payments (the sponsor pays ETH and is reimbursed in a token in phase 0): docs/specifications/base-transactions.mdx (Token Gas Payments, and the Warning on Everest activation)
  • Everest Sepolia and Mainnet dates are TBD: docs/upgrades/everest/overview.mdx

Owner confirmation needed before merge:

  • CDP Paymaster: confirm that USDC is still the only accepted token on Base, and say whether projects can request enablement for other tokens. The page tells readers not to assume any other ERC-20 or B20 token is accepted.
  • B20 and Base protocol owners: confirm that there is no protocol-level fee token for B20, and confirm the "planned, TBD" framing for Base Transactions token gas payments.

This replaces the gas-payment part of #2090 for this gap. That PR's "Paying Gas Without ETH" section predates the current Base Transactions (EIP-8430) and Everest pages, and it described EIP-8130 on vibenet. The other parts of #2090 (fee recipients, L1 fee pass-through, cost estimation, and the B20 ERC-3009 note) are out of scope here.

How has it been tested?

  • node scripts/lint-mdx.js --files-from=<changed files>: passed, with 0 errors and 0 warnings.
  • node scripts/validate-docs-structure.js: it reports 2 failures that already exist on master and that this PR doesn't touch (redirect /upgrades/denim/eip-8130 -> /specifications/native-account-abstraction).
  • Internal links (/upgrades/beryl/b20, /specifications/base-transactions#token-gas-payments, /upgrades/everest/overview) are present in docs/docs.json, and the anchor heading exists.
  • External links return 200 with curl -sIL.

Screenshots

N/A (text-only change)

Generated with Toshi

@mintlify

mintlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
base 🟢 Ready View Preview Oct 15, 2026, 3:01 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@youssefea youssefea changed the title docs(fees): explain current and planned options for paying gas in tokens docs(fees): explain options for paying gas in tokens Oct 14, 2026
@linear

linear Bot commented Oct 14, 2026

Copy link
Copy Markdown

DEVREL-859

This branch was successfully deployed

1 active deployment
staging - docs — 9513e8e3 Deployed Oct 15, 2026 by mintlify[bot]
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.

2 participants