{"id":2607,"date":"2026-03-30T20:33:29","date_gmt":"2026-03-30T07:33:29","guid":{"rendered":"https:\/\/tangem.ph\/?p=2607"},"modified":"2026-11-20T12:15:09","modified_gmt":"2026-11-20T04:15:09","slug":"introducing-smart-gas-pay-network-fees-wtangem-wallet","status":"publish","type":"post","link":"https:\/\/tangem.tw\/zh\/introducing-smart-gas-pay-network-fees-wtangem-wallet\/","title":{"rendered":"Smart Gas: Pay Network Fees With Stablecoins in Tangem Wallet"},"content":{"rendered":"<p class=\"wp-block-paragraph\">A common first step in self-custody in Taiwan: you buy USDT on an exchange such as MaiCoin or BitoPro, withdraw it to your new Tangem wallet on Ethereum, and try to send some on. The app says you need ETH for the network fee, and you have none. Until recently, that meant going back to the exchange to buy a small amount of ETH and paying a second withdrawal fee.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Smart Gas fixes that. It is now live in the Tangem app on Ethereum, BNB Smart Chain, Polygon, Arbitrum One and Base. If you hold USDC or USDT on one of those networks, you can pay the network fee in that stablecoin instead of buying ETH, BNB or POL first.<\/p>\n\n\n\n<h2 id=\"what-is-a-smart-gas-payment\" class=\"wp-block-heading\">What a Smart Gas payment is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A Smart Gas payment lets you cover a transaction&#8217;s network fee with a stablecoin rather than the chain&#8217;s native token. When you have USDC or USDT on a supported network, the app can take the fee straight out of that balance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A typical case: Alice withdraws 100 USDT from an exchange to her <a href=\"https:\/\/tangem.tw\/zh\/\">Tangem Wallet<\/a> on Ethereum. She wants to send 50 USDT to Bob, but she has no ETH on the wallet to pay gas. The app notices her USDT balance and offers to pay the fee in USDT. Alice confirms and signs, 50 USDT goes to Bob, and roughly US$0.80 in USDT is deducted for the network fee. She never had to buy ETH.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Supported networks and tokens<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Smart Gas works on the major EVM networks that have shipped EIP-7702 (the Pectra upgrade). The fee tokens were chosen for liquidity, predictable transfer costs and wide use, which in practice means the USD stablecoins people most often hold after withdrawing from an exchange.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Network<\/th><th>Supported fee tokens<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">Ethereum<\/td><td class=\"has-text-align-left\" data-align=\"left\">USDC, USDT<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">BNB Smart Chain<\/td><td class=\"has-text-align-left\" data-align=\"left\">USDC, BSC-USD<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Polygon<\/td><td class=\"has-text-align-left\" data-align=\"left\">USDC, USDT0<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Arbitrum One<\/td><td class=\"has-text-align-left\" data-align=\"left\">USDC, USDT0<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Base<\/td><td class=\"has-text-align-left\" data-align=\"left\">USDC<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"how-does-a-smart-gas-transaction-work-behind-the-scenes\" class=\"wp-block-heading\">How a Smart Gas transaction works behind the scenes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The feature relies on EIP-7702 (&#8220;Set Code for EOA&#8221;), which arrived with the Pectra upgrade in May 2025. It changes what an ordinary Ethereum account is allowed to do.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How EIP-7702 works<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ethereum has always had two kinds of account. Externally Owned Accounts (EOAs) are controlled by a private key; they can hold assets and sign transactions but can&#8217;t run custom logic. Contract accounts can run arbitrary code, but they have to be deployed and they behave differently from a security point of view.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EIP-7702 lets an EOA temporarily borrow a smart contract&#8217;s code by signing an authorisation message. That authorisation doesn&#8217;t need its own on-chain transaction. You sign a message, and someone else can include that signature in a transaction they submit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is the piece that makes Smart Gas possible. You can attach Tangem&#8217;s contract logic to your account without paying any gas for the attachment itself.<\/p>\n\n\n\n<h2 id=\"tangems-smart-contract-implementation\" class=\"wp-block-heading\">Tangem&#8217;s smart contract implementation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tangem wrote its own contract rather than adopting an existing one. The off-the-shelf options it evaluated were either more expensive for users because of overhead that wasn&#8217;t needed, or carried extra functionality that widened the attack surface without adding anything for this use case.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The implementation uses two contracts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tangem7702SmartGasExecutor<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the contract your EOA delegates to. It handles three jobs:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Signature verification.<\/strong> It checks that the Smart Gas parameters were signed by the account owner, using EIP-712 typed data signing.<\/li>\n\n\n\n<li><strong>Transaction execution.<\/strong> It carries out what you actually asked for, such as a token transfer.<\/li>\n\n\n\n<li><strong>Fee compensation.<\/strong> It works out the gas actually consumed and sends the matching amount of fee token to the fee recipient.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The contract keeps almost no storage, just a nonce for replay protection. Its storage layout is offset using Solidity&#8217;s custom storage layout feature, so nothing collides if you later attach a different contract to the same account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One constant worth knowing: BASE_GAS is set to 60,000. That is the fixed overhead for signature verification, nonce updates and execution scaffolding.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tangem7702EntryPoint<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tangem also deployed an Entry Point contract, which is how its relay submits Smart Gas transactions. Its job is narrow. Before forwarding a transaction, it checks that the code attached to your address is exactly the expected contract.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A <em>forced<\/em> parameter controls what happens if the fee transfer needs more gas than <em>feeTransferGasLimit<\/em> allows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>false<\/em>: revert the transaction (used during gas estimation)<\/li>\n\n\n\n<li><em>true<\/em>: emit an event and carry on (used during real execution, since the gas has already been spent)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This protects the relay. Tangem pays the real gas up front and is repaid from your fee token balance, so it needs to be sure the attached contract will calculate and transfer that repayment correctly. The Entry Point guarantees the relay only ever deals with accounts running the audited code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Fee parameters<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you approve a Smart Gas transaction, the message you sign contains:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the fee token (USDC, for example)<\/li>\n\n\n\n<li>the token price, meaning the rate between the fee token and the native coin, used to work out the equivalent cost<\/li>\n\n\n\n<li>the maximum fee, which is the figure the Tangem app shows you and the most you can be charged<\/li>\n\n\n\n<li>replay-protection and transaction-specific parameters<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The maximum fee is there so you know the worst case before you sign. The fee actually charged is based on real gas used and is usually lower.<\/p>\n\n\n\n<h2 id=\"security-model\" class=\"wp-block-heading\">Security model<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Building a purpose-built contract was a security decision as much as a cost one. The contract does one thing, token transfers with fee payment, which makes it easier to audit and reason about.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Factor<\/th><th>ERC-4337<\/th><th>Tangem&#8217;s implementation<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">Gas overhead<\/td><td class=\"has-text-align-left\" data-align=\"left\">Higher (bundler infrastructure)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Lower (direct execution)<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Attack surface<\/td><td class=\"has-text-align-left\" data-align=\"left\">Larger (more functionality)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Minimal (single purpose)<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Storage collision risk<\/td><td class=\"has-text-align-left\" data-align=\"left\">Varies by implementation<\/td><td class=\"has-text-align-left\" data-align=\"left\">Mitigated via custom storage layout<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Upgradeability<\/td><td class=\"has-text-align-left\" data-align=\"left\">Often included (admin key risk)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Not upgradeable<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Audit<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The contract was audited by Pessimistic, a firm that specialises in smart contract analysis. The full report is <a href=\"https:\/\/github.com\/pessimistic-io\/audits\/blob\/955cc19caace617a96b9b2fefa91d7eb9e241f33\/Tangem_Gassless_Transactions_Security_Analysis_by_Pessimistic.pdf\" target=\"_blank\" rel=\"noopener\">on GitHub<\/a>.<\/p>\n\n\n\n<h2 id=\"user-experience\" class=\"wp-block-heading\">What you see in the app<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">None of the machinery above is visible when you use it:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You start a transaction (send, swap, or send via swap) on a supported network.<\/li>\n\n\n\n<li>If you hold a supported stablecoin there, the app offers to pay the fee in that token.<\/li>\n\n\n\n<li>You see the maximum fee in the stablecoin and confirm.<\/li>\n\n\n\n<li>With one tap of your card or ring you sign both the EIP-7702 authorisation (attaching Tangem&#8217;s contract to your account) and the Smart Gas parameters.<\/li>\n\n\n\n<li>The signed bundle goes to Tangem&#8217;s backend, which submits it to the network.<\/li>\n\n\n\n<li>The transaction executes and the fee comes out of your stablecoin balance.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">From your side it looks like any other transaction. You just didn&#8217;t need native coins to make it happen.<\/p>\n\n\n\n<h2 id=\"limitations-and-considerations\" class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Smart Gas currently works only with the stablecoins in the table above. Two other things to be aware of:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fee premium. A Smart Gas transaction can cost slightly more than paying gas natively, because of the extra contract execution and the token price conversion. The contract has been tuned to keep that premium small.<\/li>\n\n\n\n<li>Network support. EIP-7702 only exists on chains that have implemented Pectra. Tangem has switched the feature on where both EIP-7702 support and stablecoin liquidity make it practical.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"conclusion\" class=\"wp-block-heading\">Why it matters for exchange withdrawals<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Running out of gas with a wallet full of stablecoins is a common problem for people moving funds off an exchange for the first time. With Smart Gas, the USDT or USDC you withdraw is spendable straight away on the supported networks. One thing still matters: Taiwanese exchanges usually let you choose the withdrawal network, so pick one from the table above if you want to use Smart Gas, and check that the network matches before you confirm.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Update to the latest Tangem app on iOS or Android to use it. For the full withdrawal walkthrough, see our guide to <a href=\"https:\/\/tangem.tw\/zh\/transfer-crypto-from-an-exchange-to-tangem-wallet\/\">moving crypto from an exchange to Tangem Wallet<\/a>. Tangem Taiwan is an authorised Tangem seller for Taiwan. Prices on <a href=\"https:\/\/tangem.tw\/zh\/\">tangem.tw<\/a> are in NT$ with import duty and tax already included, orders ship with tracking and usually arrive in 5 to 10 business days, and shipping is free from NT$1,500.<\/p>","protected":false},"excerpt":{"rendered":"<p>A common first step in self-custody in Taiwan: you buy USDT on an exchange such as MaiCoin or BitoPro, withdraw it to your new Tangem wallet on Ethereum, and try to send some on. The app says you need ETH for the network fee, and you have none. Until recently, that meant going back to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2609,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236],"tags":[174,216,176,186,218,211,178,172],"class_list":["post-2607","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tangem","tag-best-hardware-wallet-nz","tag-buy-tangem-ring","tag-cold-wallet-nz","tag-crypto-wallet-for-beginners","tag-tangem-hardware-wallet","tag-tangem-ring-new-zealand","tag-tangem-wallet-bitcoin-edition","tag-tangem-wallet-nz"],"_links":{"self":[{"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/posts\/2607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/comments?post=2607"}],"version-history":[{"count":3,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/posts\/2607\/revisions"}],"predecessor-version":[{"id":3233,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/posts\/2607\/revisions\/3233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/media\/2609"}],"wp:attachment":[{"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/media?parent=2607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/categories?post=2607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tangem.tw\/zh\/wp-json\/wp\/v2\/tags?post=2607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}