Universal Transactions just got a huge upgrade⚡️ You can now pay gas fees with ANY token on your native chain. This means in one transaction, you can: → Send funds → Execute logic → Choose how to pay gas All in one shot! ⚽
🔮 Why this upgrade is big Universal transactions can originate from ANY chain (EVM & non-EVM). Normally, users must hold the native gas token of that origin chain. With payGasWith() upgrade, the fee path becomes universal too. This means: 👷 Devs don’t have to rely on users to keep native gas. 🤴 Users don’t necessarily have to know how their chain’s fee system works.
💈 Behind the scenes Push Chain: → Takes the token you specify (USDT / USDC / anything) → Performs the necessary swap → Secures the gas → Executes + settles the universal txn All packaged inside one atomic call, fully abstracting native gas.
🛠️ Fine-grained controls - slippageBps: max allowed slippage on the ERC-20 → gas swap (100 = 1%). - minAmountOut: the minimum acceptable output (in wei). If the swap can’t meet this, the transaction reverts. Perfect for guaranteeing predictable fee execution.
💡 Example A universal prediction market with users from @Base , @Ethereum, and @BNBChain can all interact with the same liquidity pool. ✅ Base users → pay fees in Base USDT ✅ ETH users → pay in DAI ✅ BNB users → pay in BUSD or through their native gas tokens. All supported in one pipeline.
1,618
15
本頁面內容由第三方提供。除非另有說明,OKX 不是所引用文章的作者,也不對此類材料主張任何版權。該內容僅供參考,並不代表 OKX 觀點,不作為任何形式的認可,也不應被視為投資建議或購買或出售數字資產的招攬。在使用生成式人工智能提供摘要或其他信息的情況下,此類人工智能生成的內容可能不準確或不一致。請閱讀鏈接文章,瞭解更多詳情和信息。OKX 不對第三方網站上的內容負責。包含穩定幣、NFTs 等在內的數字資產涉及較高程度的風險,其價值可能會產生較大波動。請根據自身財務狀況,仔細考慮交易或持有數字資產是否適合您。