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.79K
18
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.