{"id":1282,"date":"2026-10-25T17:35:04","date_gmt":"2026-10-25T09:35:04","guid":{"rendered":"https:\/\/lezoo6.com\/index.php\/news\/daily\/erc4337-paymaster-gas-sponsorship\/"},"modified":"2026-10-25T17:35:04","modified_gmt":"2026-10-25T09:35:04","slug":"erc4337-paymaster-gas-sponsorship","status":"publish","type":"page","link":"https:\/\/lezoo6.com\/index.php\/news\/daily\/erc4337-paymaster-gas-sponsorship\/","title":{"rendered":"gas \u8d39\u4e5f\u53ef\u4ee5\u522b\u4eba\u66ff\u4f60\u4ed8\uff1aERC-4337 \u7684 Paymaster \u600e\u4e48\u7b97\u8d26"},"content":{"rendered":"<style>\n.lz-art{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:26px 24px;color:#1f2937;line-height:1.85;font-size:16px}\n.lz-art h2{font-size:20px;margin:30px 0 12px;padding-bottom:8px;border-bottom:2px solid #2563eb;color:#111827}\n.lz-art p{margin:12px 0}\n.lz-art table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}\n.lz-art th,.lz-art td{border:1px solid #e5e7eb;padding:9px 11px;text-align:left;vertical-align:top}\n.lz-art th{background:#f9fafb;font-weight:600}\n.lz-art .lz-card{background:#f8fafc;border:1px solid #dbeafe;border-left:4px solid #2563eb;border-radius:10px;padding:14px 16px;margin:18px 0;font-size:15px}\n.lz-art .lz-card ol{margin:8px 0 0;padding-left:20px}\n.lz-art .lz-note{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px 16px;font-size:14px;color:#92400e;margin:22px 0}\n.lz-art a{color:#2563eb;text-decoration:none}\n.lz-art .src{font-size:13px;color:#6b7280;line-height:1.8}\n.lz-art .faq b{display:block;margin-top:14px;color:#111827}\n.lz-art code{background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:14px}\n<\/style>\n<div class=\"lz-art\">\n<p>\u94b1\u5305\u91cc\u4e00\u4e2a ETH \u90fd\u6ca1\u6709\uff0c\u7167\u6837\u80fd\u5b8c\u6210\u4e00\u6b21\u94fe\u4e0a swap\u2014\u2014\u8fd9\u4e0d\u662f\u4ea4\u6613\u6240\u7684\u8865\u8d34\uff0c\u662f ERC-4337 \u91cc\u4e00\u4e2a\u53eb Paymaster \u7684\u89d2\u8272\u5728\u66ff\u4f60\u4ed8\u8d26\u3002\u5b83\u628a\u300c\u8c01\u4ed8 gas\u300d\u4ece\u4e00\u6761\u56fa\u5b9a\u89c4\u5219\uff0c\u53d8\u6210\u4e86\u4e00\u6bb5\u53ef\u4ee5\u5199\u6761\u4ef6\u7684\u4ee3\u7801\u3002<\/p>\n<h2>\u4e00\u3001\u666e\u901a\u94b1\u5305\u4e3a\u4ec0\u4e48\u5fc5\u987b\u81ea\u5df1\u4ed8 gas<\/h2>\n<p>\u666e\u901a\u8d26\u6237\uff08EOA\uff09\u53d1\u4ea4\u6613\u65f6\uff0cgas \u76f4\u63a5\u4ece\u4f59\u989d\u91cc\u6263\uff0c\u534f\u8bae\u5c42\u6ca1\u6709\u300c\u7b2c\u4e09\u65b9\u4ee3\u4ed8\u300d\u8fd9\u79cd\u63a5\u53e3\u3002\u8fc7\u53bb DApp \u60f3\u8ba9\u7528\u6237\u4f53\u9a8c\u987a\u4e00\u70b9\uff0c\u53ea\u80fd\u5f80\u7528\u6237\u5730\u5740\u6253\u4e00\u70b9 ETH\uff0c\u53eb\u7a7a\u6295 gas\u3002\u8fd9\u4e2a\u529e\u6cd5\u6709\u4e24\u4e2a\u786c\u4f24\uff1a\u6bcf\u4e2a\u5730\u5740\u90fd\u8981\u5355\u72ec\u8f6c\u8d26\uff1b\u6253\u8fc7\u53bb\u7684 ETH \u7528\u6237\u62ff\u53bb\u505a\u4efb\u4f55\u4e8b\u90fd\u884c\u3002<\/p>\n<p>ERC-4337 \u6362\u4e86\u5165\u53e3\uff1a\u8d26\u6237\u672c\u8eab\u53d8\u6210\u5408\u7ea6\uff0c\u4ea4\u6613\u4e0d\u518d\u662f\u4f60\u7b7e\u540d\u540e\u76f4\u63a5\u6267\u884c\uff0c\u800c\u662f\u5148\u63d0\u4ea4\u4e00\u4efd\u53eb UserOperation \u7684\u610f\u5411\u4e66\uff0c\u7531 bundler \u6253\u5305\u3001\u7531 EntryPoint \u5408\u7ea6\u7edf\u4e00\u9a8c\u8bc1\u5e76\u6267\u884c\u3002\u6267\u884c\u5165\u53e3\u65e2\u7136\u662f\u4e00\u4e2a\u5408\u7ea6\uff0c\u300c\u8c01\u4ed8\u94b1\u300d\u5c31\u6210\u4e86\u4e00\u6bb5\u53ef\u7f16\u7a0b\u7684\u5224\u65ad\u3002<\/p>\n<h2>\u4e8c\u3001\u4e00\u7b14\u64cd\u4f5c\u7684 gas \u88ab\u62c6\u6210\u56db\u6bb5<\/h2>\n<table>\n<th>\u5b57\u6bb5<\/th>\n<th>\u8986\u76d6\u4ec0\u4e48<\/th>\n<th>\u8c01\u6765\u4f30<\/th>\n<tr>\n<td>preVerificationGas<\/td>\n<td>calldata\u3001\u6253\u5305\u4e0e\u7b7e\u540d\u6821\u9a8c\u7684\u56fa\u5b9a\u5f00\u9500<\/td>\n<td>\u94b1\u5305\u6309\u5b57\u8282\u4f30\u7b97<\/td>\n<\/tr>\n<tr>\n<td>verificationGasLimit<\/td>\n<td>\u9a8c\u8bc1\u7b7e\u540d\u3001nonce \u4e0e paymaster \u6388\u6743\u7684\u4e0a\u9650<\/td>\n<td>\u8d26\u6237\u4e0e paymaster \u7684\u5b9e\u73b0<\/td>\n<\/tr>\n<tr>\n<td>callGasLimit<\/td>\n<td>\u4f60\u771f\u6b63\u90a3\u6b21\u8c03\u7528\uff08swap\u3001\u8f6c\u8d26\uff09\u7684\u4e0a\u9650<\/td>\n<td>\u6309\u76ee\u6807\u5408\u7ea6\u7684\u7528\u91cf\u4f30<\/td>\n<\/tr>\n<tr>\n<td>paymasterPostOpGasLimit<\/td>\n<td>\u4ee3\u4ed8\u65b9\u6536\u5c3e\uff08\u6263\u4ee3\u5e01\u3001\u8bb0\u8d26\uff09\u7684\u4e0a\u9650<\/td>\n<td>paymaster \u7684\u5b9e\u73b0<\/td>\n<\/tr>\n<\/table>\n<p>\u5173\u952e\u5728\u300cLimit\u300d\u4e24\u4e2a\u5b57\uff1a\u7528\u6237\u586b\u7684\u662f\u4e0a\u9650\uff0c\u4e0d\u662f\u5b9e\u9645\u503c\u3002bundler \u6253\u5305\u4e4b\u524d\u4f1a\u5148\u6a21\u62df\uff0c\u4efb\u4f55\u4e00\u6bb5\u4f30\u5c11\u4e86\uff0c\u6574\u4efd UserOperation \u76f4\u63a5\u88ab\u62d2\u2014\u2014\u4e0d\u662f\u56de\u6eda\uff0c\u662f\u6839\u672c\u6ca1\u4e0a\u94fe\u3002\u6240\u4ee5\u300c\u4f30\u7b97\u5931\u8d25\u300d\u5728 4337 \u91cc\u6bd4\u5728\u666e\u901a\u4ea4\u6613\u91cc\u66f4\u5e38\u89c1\u3002<\/p>\n<h2>\u4e09\u3001\u7b97\u5f0f\u4e0e\u7b97\u4f8b<\/h2>\n<p><code>\u603b\u6210\u672c \u2248\uff08preVerificationGas + \u5b9e\u9645 verification + \u5b9e\u9645 call + postOp\uff09\u00d7 \u6709\u6548 gas price<\/code><\/p>\n<p><code>\u6709\u6548 gas price = min(maxFeePerGas, baseFee + maxPriorityFeePerGas)<\/code>\uff0c\u4e14\u4e0d\u5f97\u4f4e\u4e8e baseFee\uff0c\u5426\u5219 bundler \u62d2\u7edd\u6253\u5305\u3002\u5047\u8bbe base fee 12 gwei\u3001priority fee 1 gwei\u3001\u5408\u8ba1 200,000 gas\u3001ETH \u62a5\u4ef7 4,000 \u7f8e\u5143\uff1a<\/p>\n<table>\n<th>\u9879\u76ee<\/th>\n<th>\u6570\u503c<\/th>\n<tr>\n<td>gas \u603b\u91cf<\/td>\n<td>200,000<\/td>\n<\/tr>\n<tr>\n<td>\u6709\u6548\u5355\u4ef7<\/td>\n<td>13 gwei\uff0812 + 1\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u6210\u672c<\/td>\n<td>0.0026 ETH<\/td>\n<\/tr>\n<tr>\n<td>\u6298\u7f8e\u5143<\/td>\n<td>\u7ea6 10.4 \u7f8e\u5143<\/td>\n<\/tr>\n<\/table>\n<p>\u5982\u679c paymaster \u6309 USDC \u7ed3\u7b97\u5e76\u52a0\u6536 5% \u670d\u52a1\u8d39\uff0c\u7528\u6237\u4ed8\u7ea6 10.9 \u7f8e\u5143\uff0c\u4ee3\u4ed8\u65b9\u51c0\u8d5a\u7ea6 0.5 \u7f8e\u5143\uff0c\u5176\u4f59\u6362\u6210 ETH \u4ea4\u7ed9 EntryPoint\u3002\u82e5\u8fd9\u6b21 swap \u56e0\u4e3a\u6ed1\u70b9\u68c0\u67e5\u5931\u8d25\uff0ccallGas \u7167\u6837\u6d88\u8017\u3001postOp \u53ef\u80fd\u7167\u6837\u6267\u884c\uff1a\u7528\u6237\u4e00\u5206\u597d\u5904\u6ca1\u62ff\u5230\uff0c\u4ee3\u5e01\u5df2\u7ecf\u88ab\u6263\u3002\u8fd9\u662f\u300c\u514d gas\u300d\u6700\u5e38\u89c1\u7684\u5751\u3002<\/p>\n<h2>\u56db\u3001\u4e24\u79cd\u6a21\u5f0f\uff0c\u6210\u672c\u843d\u5728\u4e0d\u540c\u4eba\u5934\u4e0a<\/h2>\n<p><strong>\u9884\u4ed8\u5b58\u6b3e<\/strong>\uff1apaymaster \u5728 EntryPoint \u91cc\u5b58\u4e00\u7b14 ETH\uff0c\u7528\u6237\u64cd\u4f5c\u65f6\u76f4\u63a5\u6263\u3002\u9879\u76ee\u65b9\u505a\u6d3b\u52a8\u5e38\u7528\u8fd9\u79cd\uff0c\u6210\u672c\u53ef\u63a7\u3001\u80fd\u8bbe\u4e0a\u9650\u3002<\/p>\n<p><strong>\u4ee3\u6263\u4ee3\u5e01<\/strong>\uff1a\u7528\u6237\u7528 USDC \u6216\u5176\u4ed6\u4ee3\u5e01\u4ed8\uff0cpaymaster \u6536\u5e01\u3001\u4ee3\u4ed8 ETH\u3002\u4e2d\u95f4\u591a\u4e86\u4e00\u6b21\u5151\u6362\uff0c\u5c31\u591a\u4e86\u4e00\u5c42\u4ef7\u683c\u98ce\u9669\u2014\u2014\u6253\u5305\u5ef6\u8fdf\u51e0\u5341\u79d2\uff0c\u4ee3\u5e01\u4ef7\u683c\u52a8\u4e86\uff0c\u4ee3\u4ed8\u65b9\u53ef\u80fd\u4e8f\uff0c\u8fd9\u90e8\u5206\u6210\u672c\u6700\u7ec8\u4f1a\u56de\u5230\u62a5\u4ef7\u91cc\u3002<\/p>\n<p>\u4e24\u79cd\u6a21\u5f0f\u90fd\u5fc5\u987b stake \u5e76\u63a5\u53d7\u89e3\u7ed1\u5ef6\u8fdf\u3002\u5426\u5219\u4efb\u4f55\u4eba\u90fd\u80fd\u90e8\u7f72\u4e00\u4e2a\u7a7a\u5408\u7ea6\uff0c\u8ba9 bundler \u57ab\u4ed8 gas \u540e\u8dd1\u8def\u3002\u60f3\u5148\u5f04\u6e05 gas \u5355\u4ef7\u672c\u8eab\u7684\u6784\u6210\uff0c\u53ef\u4ee5\u770b <a href=\"\/index.php\/news\/daily\/eip1559-gas-fee-structure\/\">\u4e00\u7b14\u4ea4\u6613\u7684 gas \u8d39\u600e\u4e48\u7b97\u51fa\u6765<\/a>\u3002<\/p>\n<h2>\u4e94\u3001\u5e38\u89c1\u95ee\u9898<\/h2>\n<div class=\"faq\">\n<p><b>\u6ca1\u6709 ETH \u771f\u80fd\u7528\u5417\uff1f<\/b><\/p>\n<p>\u80fd\uff0c\u524d\u63d0\u662f paymasterAndData \u6709\u6548\u3001paymaster \u5b58\u6b3e\u8db3\u591f\u3002\u4f46\u9996\u6b21\u90e8\u7f72\u8d26\u6237\u5408\u7ea6\u7684\u90a3\u7b14 gas \u4e5f\u5f97\u6709\u4eba\u51fa\uff0c\u901a\u5e38\u662f\u540c\u4e00\u4e2a paymaster\u3002<\/p>\n<p><b>\u514d gas \u662f\u4e0d\u662f\u7b49\u4e8e\u514d\u8d39\uff1f<\/b><\/p>\n<p>\u4e0d\u7b49\u4e8e\u3002\u6210\u672c\u88ab\u9879\u76ee\u65b9\u3001\u5e73\u53f0\u6216\u4f60\u7684\u4ee3\u5e01\u4f59\u989d\u63a5\u8d70\u4e86\uff0c\u94fe\u4e0a\u6c38\u8fdc\u6709\u4eba\u4ed8\u3002\u770b\u5230\u300c0 \u624b\u7eed\u8d39\u300d\u65f6\uff0c\u5148\u627e\u8d26\u672c\u7684\u53e6\u4e00\u5934\u3002<\/p>\n<p><b>\u8fd9\u548c\u4ea4\u6613\u6240\u7684\u514d\u624b\u7eed\u8d39\u4e00\u6837\u5417\uff1f<\/b><\/p>\n<p>\u4e0d\u4e00\u6837\u3002\u4ea4\u6613\u6240\u514d\u7684\u662f\u5e73\u53f0\u62bd\u6210\uff0cERC-4337 \u514d\u7684\u662f\u94fe\u4e0a gas\uff0c\u4e24\u7b14\u94b1\u4e0d\u5728\u4e00\u4e2a\u8d26\u672c\u4e0a\uff0c\u6df7\u7740\u7b97\u4f1a\u5f97\u51fa\u9519\u8bef\u7684\u6210\u672c\u7ed3\u8bba\uff0c\u53ef\u4ee5\u914d\u5408 <a href=\"\/index.php\/tools\/\">\u8d39\u7387\u4e0e\u4ed3\u4f4d\u8ba1\u7b97\u5668<\/a> \u81ea\u5df1\u590d\u7b97\u4e00\u904d\u3002<\/p>\n<\/div>\n<h2>\u516d\u3001\u6765\u6e90\u4e0e\u66f4\u65b0<\/h2>\n<p class=\"src\">\n1. EIP-4337\uff08Final\uff0c2021 \u5e74 9 \u6708 29 \u65e5\u521b\u5efa\uff09\uff0cUserOperation \u7ed3\u6784\u3001EntryPoint \u4e0e paymaster \u6269\u5c55\uff0chttps:\/\/eips.ethereum.org\/EIPS\/eip-4337 \uff08\u8bbf\u95ee\u65e5\u671f\uff1a2026-10-25\uff09\u3002<br \/>\n2. ethereum.org \u8d26\u6237\u62bd\u8c61\u6587\u6863\uff1aEOA \u65e0\u6cd5\u4ee3\u4ed8\u3001\u9700\u8981\u5408\u7ea6\u8d26\u6237\u4e0e bundler \u7684\u539f\u56e0\uff0chttps:\/\/ethereum.org\/en\/roadmap\/account-abstraction\/ \uff08\u8bbf\u95ee\u65e5\u671f\uff1a2026-10-25\uff09\u3002<br \/>\n3. \u6587\u4e2d 12 gwei\u3001200,000 gas\u30014,000 \u7f8e\u5143\u4e0e 5% \u670d\u52a1\u8d39\u5747\u4e3a\u6f14\u793a\u5047\u8bbe\uff0c\u4e0d\u4ee3\u8868\u4efb\u4f55\u65f6\u70b9\u7684\u771f\u5b9e\u62a5\u4ef7\uff1b\u57fa\u7840\u6982\u5ff5\u89c1 <a href=\"\/index.php\/learn\/\">\u52a0\u5bc6\u5b66\u9662<\/a>\u3002\n<\/p>\n<\/div>\n<p><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"\u6ca1\u6709 ETH \u771f\u80fd\u7528\u5417\uff1f\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"\u80fd\uff0c\u524d\u63d0\u662f paymasterAndData \u6709\u6548\u3001paymaster \u5b58\u6b3e\u8db3\u591f\u3002\u4f46\u9996\u6b21\u90e8\u7f72\u8d26\u6237\u5408\u7ea6\u7684\u90a3\u7b14 gas \u4e5f\u5f97\u6709\u4eba\u51fa\uff0c\u901a\u5e38\u662f\u540c\u4e00\u4e2a paymaster\u3002\"}},{\"@type\":\"Question\",\"name\":\"\u514d gas \u662f\u4e0d\u662f\u7b49\u4e8e\u514d\u8d39\uff1f\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"\u4e0d\u7b49\u4e8e\u3002\u6210\u672c\u88ab\u9879\u76ee\u65b9\u3001\u5e73\u53f0\u6216\u4f60\u7684\u4ee3\u5e01\u4f59\u989d\u63a5\u8d70\u4e86\uff0c\u94fe\u4e0a\u6c38\u8fdc\u6709\u4eba\u4ed8\u3002\"}},{\"@type\":\"Question\",\"name\":\"\u8fd9\u548c\u4ea4\u6613\u6240\u7684\u514d\u624b\u7eed\u8d39\u4e00\u6837\u5417\uff1f\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"\u4e0d\u4e00\u6837\u3002\u4ea4\u6613\u6240\u514d\u7684\u662f\u5e73\u53f0\u62bd\u6210\uff0cERC-4337 \u514d\u7684\u662f\u94fe\u4e0a gas\uff0c\u4e24\u7b14\u94b1\u4e0d\u5728\u4e00\u4e2a\u8d26\u672c\u4e0a\u3002\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u94b1\u5305\u91cc\u4e00\u4e2a ETH \u90fd\u6ca1\u6709\uff0c\u7167\u6837\u80fd\u5b8c\u6210\u4e00\u6b21\u94fe\u4e0a swap\u2014\u2014\u8fd9\u4e0d\u662f\u4ea4\u6613\u6240\u7684\u8865\u8d34\uff0c\u662f ERC-4337 \u91cc\u4e00\u4e2a\u53eb &#8230; <a title=\"gas \u8d39\u4e5f\u53ef\u4ee5\u522b\u4eba\u66ff\u4f60\u4ed8\uff1aERC-4337 \u7684 Paymaster \u600e\u4e48\u7b97\u8d26\" class=\"read-more\" href=\"https:\/\/lezoo6.com\/index.php\/news\/daily\/erc4337-paymaster-gas-sponsorship\/\" aria-label=\"\u9605\u8bfb gas \u8d39\u4e5f\u53ef\u4ee5\u522b\u4eba\u66ff\u4f60\u4ed8\uff1aERC-4337 \u7684 Paymaster \u600e\u4e48\u7b97\u8d26\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":857,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-1282","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages\/1282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/comments?post=1282"}],"version-history":[{"count":0,"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages\/1282\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages\/857"}],"wp:attachment":[{"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/media?parent=1282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}