{"id":2243,"date":"2026-11-01T21:10:39","date_gmt":"2026-11-01T13:10:39","guid":{"rendered":"https:\/\/lezoo6.com\/index.php\/news\/daily\/token-decimals-cross-chain-mismatch\/"},"modified":"2026-11-01T21:10:39","modified_gmt":"2026-11-01T13:10:39","slug":"token-decimals-cross-chain-mismatch","status":"publish","type":"page","link":"https:\/\/lezoo6.com\/index.php\/news\/daily\/token-decimals-cross-chain-mismatch\/","title":{"rendered":"\u540c\u4e00\u4e2a USDT\uff0c6 \u4f4d\u5c0f\u6570\u548c 18 \u4f4d\u5c0f\u6570\uff1a\u5dee 12 \u4e2a\u6570\u91cf\u7ea7\u7684\u8f6c\u8d26\u4e8b\u6545"},"content":{"rendered":"<style>.cl-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:26px;line-height:1.85;color:#1f2937;font-size:16px}.cl-wrap h2{font-size:20px;margin:30px 0 12px;padding-bottom:8px;border-bottom:2px solid #4338ca;color:#111827}.cl-wrap p{margin:12px 0}.cl-table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0}.cl-table th,.cl-table td{border:1px solid #e5e7eb;padding:9px 11px;text-align:left;vertical-align:top}.cl-table th{background:#eef2ff;font-weight:600;color:#312e81}.cl-table td.g{color:#15803d}.cl-table td.y{color:#b45309}.cl-table td.r{color:#b91c1c}.cl-card{background:#eef2ff;border-left:4px solid #4338ca;border-radius:8px;padding:14px 18px;margin:16px 0}.cl-warn{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px 18px;margin:18px 0;color:#78350f}.cl-faq{border-top:1px solid #e5e7eb;padding:14px 0}.cl-faq b{display:block;color:#111827;margin-bottom:4px}.cl-faq p{margin:0;color:#4b5563;font-size:15px}.cl-links{font-size:15px;line-height:2.1;padding-left:20px}.cl-links a{color:#4338ca;text-decoration:none}.cl-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;font-size:13px;color:#475569;line-height:1.75;margin-top:20px}.cl-ol{padding-left:22px}.cl-ol li{margin:8px 0}.cl-ul{padding-left:22px}.cl-ul li{margin:8px 0}code{background:#f1f5f9;padding:1px 5px;border-radius:4px;font-size:14px}<\/style><div class=\"cl-wrap\"><p>\u94b1\u5305\u91cc\u663e\u793a\u300c1 USDT\u300d\uff0c\u94fe\u4e0a\u5b58\u7684\u662f\u4e00\u4e2a\u6574\u6570 <code>1000000<\/code>\u3002\u8fd9\u4e2a\u6362\u7b97\u7531\u4ee3\u5e01\u7684 <b>decimals<\/b> \u51b3\u5b9a\uff1a\u4ee5\u592a\u574a\u4e0a\u7684 USDT \u662f 6 \u4f4d\uff0cBNB Chain \u4e0a\u7684 USDT \u662f 18 \u4f4d\uff0c\u540c\u4e00\u4e2a\u7b26\u53f7\u3001\u540c\u4e00\u4e2a\u53d1\u884c\u65b9\uff0c\u94fe\u4e0a\u7cbe\u5ea6\u5b8c\u5168\u4e0d\u540c\u3002\u6240\u6709\u300c\u8f6c\u9519\u91d1\u989d\u300d\u7684\u4e8b\u6545\u91cc\uff0c\u6700\u5e38\u89c1\u7684\u4e00\u7c7b\u5c31\u662f\u628a\u6700\u5c0f\u5355\u4f4d\u5f53\u6210\u4e86\u300c\u679a\u300d\u3002<\/p><h2>\u4e00\u3001decimals \u662f\u4ec0\u4e48\uff1a\u94fe\u4e0a\u53ea\u6709\u6574\u6570<\/h2><p>\u4ee3\u5e01\u5408\u7ea6\u4e0d\u5b58\u5c0f\u6570\uff0c\u53ea\u5b58\u6574\u6570\u3002ERC-20 \u6709\u4e00\u4e2a <code>decimals()<\/code> \u65b9\u6cd5\uff0c\u544a\u8bc9\u5916\u754c\u300c\u8fd9\u4e2a\u6574\u6570\u8981\u9664\u4ee5 10 \u7684\u591a\u5c11\u6b21\u65b9\u624d\u662f\u4eba\u770b\u7684\u6570\u91cf\u300d\u3002USDC \u662f 6\uff0c\u610f\u5473\u7740\u94fe\u4e0a <code>1,000,000<\/code> \u4ee3\u8868 1 \u679a\uff1bETH \u662f 18\uff0c\u610f\u5473\u7740\u94fe\u4e0a <code>1,000,000,000,000,000,000<\/code> \u624d\u662f 1 \u679a\u3002\u6bd4\u7279\u5e01\u6ca1\u6709\u4ee3\u5e01\u5408\u7ea6\uff0c\u4f46\u540c\u6837\u7684\u903b\u8f91\uff1a1 BTC = 100,000,000 \u806a\uff0c\u76f8\u5f53\u4e8e 8 \u4f4d\u5c0f\u6570\u3002<\/p><table class=\"cl-table\"><tr><th>\u8d44\u4ea7<\/th><th>\u6240\u5728\u94fe<\/th><th>decimals<\/th><th>1 \u679a = \u6700\u5c0f\u5355\u4f4d\u6570<\/th><\/tr><tr><td>ETH<\/td><td>\u4ee5\u592a\u574a<\/td><td>18<\/td><td>1,000,000,000,000,000,000 wei<\/td><\/tr><tr><td>USDC<\/td><td>\u4ee5\u592a\u574a<\/td><td>6<\/td><td>1,000,000<\/td><\/tr><tr><td class=\"y\">USDT<\/td><td>\u4ee5\u592a\u574a<\/td><td class=\"y\">6<\/td><td>1,000,000<\/td><\/tr><tr><td class=\"r\">USDT<\/td><td>BNB Chain<\/td><td class=\"r\">18<\/td><td>1,000,000,000,000,000,000<\/td><\/tr><tr><td>WBTC<\/td><td>\u4ee5\u592a\u574a<\/td><td>8<\/td><td>100,000,000<\/td><\/tr><tr><td>BTC<\/td><td>\u6bd4\u7279\u5e01<\/td><td>8<\/td><td>100,000,000 \u806a<\/td><\/tr><\/table><p>\u7b2c\u4e09\u884c\u548c\u7b2c\u56db\u884c\u662f\u540c\u4e00\u5bb6\u516c\u53f8\u53d1\u884c\u7684\u540c\u4e00\u4e2a\u7b26\u53f7\uff0c\u7cbe\u5ea6\u5dee <b>12 \u4e2a\u6570\u91cf\u7ea7<\/b>\uff0810\u00b9\u00b2\uff09\u3002\u8fd9\u4e0d\u662f\u7b14\u8bef\uff0c\u800c\u662f\u4e24\u6761\u94fe\u4e0a\u90e8\u7f72\u65f6\u7684\u4e0d\u540c\u9009\u62e9\uff1b\u8de8\u94fe\u6865\u628a\u8d44\u4ea7\u642c\u8fc7\u53bb\u65f6\uff0c\u662f\u5426\u91cd\u65b0\u94f8\u9020\u3001\u662f\u5426\u7edf\u4e00\u7cbe\u5ea6\uff0c\u7531\u5404\u6865\u7684\u5b9e\u73b0\u51b3\u5b9a\u3002<\/p><h2>\u4e8c\u3001\u5dee\u4e00\u4f4d\u4f1a\u600e\u6837\uff1a\u4e24\u4e2a\u65b9\u5411\u7684\u7b97\u4f8b<\/h2><div class=\"cl-card\"><b>\u65b9\u5411\u4e00\uff1a\u628a 6 \u4f4d\u5f53 18 \u4f4d\u586b\u3002<\/b>\u4f60\u60f3\u8f6c 1 USDT\uff0c\u811a\u672c\u6309 18 \u4f4d\u7b97\uff0c\u5199\u8fdb\u5408\u7ea6\u7684\u6574\u6570\u662f <code>1e18<\/code>\u3002\u5982\u679c\u76ee\u6807\u4ee3\u5e01\u662f 6 \u4f4d\uff0c\u8fd9\u7b14\u8bf7\u6c42\u7b49\u4e8e\u8981\u8f6c <b>1 \u4e07\u4ebf\u679a<\/b>\u2014\u2014\u4f59\u989d\u4e0d\u8db3\uff0c\u4ea4\u6613\u5931\u8d25\uff1b\u5982\u679c\u4f59\u989d\u771f\u7684\u591f\uff08\u6bd4\u5982\u67d0\u4e2a\u6c60\u5b50\uff09\uff0c\u5c31\u662f\u628a\u6574\u4e2a\u6c60\u5b50\u642c\u8d70\u3002<br><b>\u65b9\u5411\u4e8c\uff1a\u628a 18 \u4f4d\u5f53 6 \u4f4d\u586b\u3002<\/b>\u4f60\u60f3\u8f6c 1 USDT\uff0c\u6309 6 \u4f4d\u5199 <code>1e6<\/code>\uff0c\u5b9e\u9645\u8f6c\u51fa <b>0.000000000001 \u679a<\/b>\u3002\u4ea4\u6613\u6210\u529f\uff0c\u94b1\u51e0\u4e4e\u6ca1\u52a8\uff0c\u5bf9\u65b9\u4ee5\u4e3a\u4f60\u6ca1\u4ed8\u3002<\/div><p>\u4e24\u4e2a\u65b9\u5411\u7684\u5171\u540c\u70b9\u662f\uff1a<b>\u4ea4\u6613\u672c\u8eab\u4e0d\u4f1a\u62a5\u9519<\/b>\u3002\u5408\u7ea6\u53ea\u6821\u9a8c\u4f59\u989d\u4e0e\u6388\u6743\u989d\u5ea6\uff0c\u4e0d\u6821\u9a8c\u300c\u4f60\u5fc3\u91cc\u7684\u5355\u4f4d\u300d\u3002\u6240\u4ee5\u8fd9\u7c7b\u9519\u8bef\u53d1\u73b0\u5f97\u665a\uff0c\u800c\u4e14\u5f80\u5f80\u51fa\u73b0\u5728\u6279\u91cf\u8f6c\u8d26\u3001\u811a\u672c\u53d1\u653e\u3001\u8de8\u94fe\u6865\u63a5\u8fd9\u4e9b\u6ca1\u6709\u4eba\u5de5\u590d\u6838\u7684\u73af\u8282\u3002<\/p><h2>\u4e09\u3001\u4e94\u4e2a\u53ef\u4ee5\u81ea\u67e5\u7684\u52a8\u4f5c<\/h2><ol class=\"cl-ol\"><li><b>\u8f6c\u8d26\u524d\u8bfb\u4e00\u6b21 decimals()<\/b>\uff1a\u4e0d\u8981\u51ed\u5e01\u79cd\u7b26\u53f7\u5047\u8bbe\uff0c\u8bfb\u5408\u7ea6\u662f\u6700\u53ef\u9760\u7684\u3002\u8de8\u94fe\u7684\u540c\u540d\u8d44\u4ea7\u5c24\u5176\u8981\u8bfb\u3002<\/li><li><b>\u7528\u300c\u6700\u5c0f\u5355\u4f4d\u300d\u505a\u5185\u90e8\u8ba1\u7b97<\/b>\uff1a\u7a0b\u5e8f\u91cc\u7edf\u4e00\u7528\u6574\u6570\u8fd0\u7b97\uff0c\u53ea\u5728\u663e\u793a\u65f6\u9664\u4ee5 10^decimals\uff0c\u907f\u514d\u6d6e\u70b9\u8bef\u5dee\u4e0e\u5355\u4f4d\u6df7\u7528\u3002<\/li><li><b>\u5c0f\u989d\u8bd5\u8f6c<\/b>\uff1a\u6279\u91cf\u53d1\u653e\u524d\u5148\u53d1\u4e00\u7b14\u6700\u5c0f\u989d\uff0c\u786e\u8ba4\u5230\u8d26\u6570\u91cf\u6b63\u786e\uff0c\u518d\u8dd1\u6279\u91cf\u3002<\/li><li><b>\u6838\u5bf9\u94b1\u5305\u663e\u793a\u7cbe\u5ea6<\/b>\uff1a\u94b1\u5305\u901a\u5e38\u56db\u820d\u4e94\u5165\u5230 2\u20136 \u4f4d\uff0c\u770b\u5230\u300c0.00\u300d\u4e0d\u4ee3\u8868\u771f\u7684\u4e3a\u96f6\uff0c\u70b9\u5f00\u660e\u7ec6\u770b\u5b8c\u6574\u6570\u503c\u3002<\/li><li><b>\u8de8\u94fe\u540e\u91cd\u65b0\u786e\u8ba4<\/b>\uff1a\u6865\u63a5\u540e\u7684\u8d44\u4ea7\u53ef\u80fd\u6362\u4e86\u5408\u7ea6\u5730\u5740\u4e0e\u7cbe\u5ea6\uff0c\u5230\u8d26\u540e\u5148\u770b\u5408\u7ea6\uff0c\u518d\u770b\u6570\u91cf\u3002<\/li><\/ol><div class=\"cl-warn\"><b>\u4e0e\u6388\u6743\u989d\u5ea6\u53e0\u52a0\u7684\u98ce\u9669\uff1a<\/b>\u5982\u679c\u4f60\u7ed9\u67d0\u4e2a\u5408\u7ea6\u6388\u6743\u4e86\u300c\u65e0\u9650\u989d\u5ea6\u300d\uff0c\u800c\u8be5\u5408\u7ea6\u6309\u9519\u8bef\u7cbe\u5ea6\u8ba1\u7b97\uff0c\u4e00\u6b21\u8c03\u7528\u5c31\u53ef\u80fd\u628a\u4f59\u989d\u6e05\u7a7a\u3002\u6388\u6743\u989d\u5ea6\u4e0e\u7cbe\u5ea6\u662f\u4e24\u4ef6\u72ec\u7acb\u7684\u4e8b\uff0c\u4f46\u7ecf\u5e38\u4e00\u8d77\u51fa\u4e8b\u3002<\/div><h2>\u56db\u3001\u5e38\u89c1\u95ee\u9898<\/h2><div class=\"cl-faq\"><b>Q1\uff1a\u4e3a\u4ec0\u4e48\u540c\u4e00\u4e2a USDT \u5728\u4e0d\u540c\u94fe\u4e0a\u7cbe\u5ea6\u4e0d\u540c\uff1f<\/b><p>\u5404\u94fe\u90e8\u7f72\u65f6\u7684\u6280\u672f\u9009\u62e9\u4e0d\u540c\u3002\u4ee5\u592a\u574a\u4e0a\u7684 USDT \u6cbf\u7528 6 \u4f4d\uff08\u4e0e\u65e9\u671f\u5b9e\u73b0\u4e00\u81f4\uff09\uff0cBNB Chain \u4e0a\u7684\u7248\u672c\u7528\u4e86 18 \u4f4d\u3002\u7b26\u53f7\u76f8\u540c\u4e0d\u4ee3\u8868\u5408\u7ea6\u76f8\u540c\uff0c\u5730\u5740\u548c\u7cbe\u5ea6\u90fd\u8981\u5355\u72ec\u6838\u5bf9\u3002<\/p><\/div><div class=\"cl-faq\"><b>Q2\uff1a\u4ea4\u6613\u53d1\u51fa\u53bb\u53d1\u73b0\u5355\u4f4d\u9519\u4e86\uff0c\u80fd\u64a4\u56de\u5417\uff1f<\/b><p>\u4e0d\u80fd\u3002\u94fe\u4e0a\u4ea4\u6613\u4e0d\u53ef\u9006\u3002\u5982\u679c\u662f\u53d1\u7ed9\u4e86\u81ea\u5df1\u7684\u53e6\u4e00\u4e2a\u5730\u5740\uff0c\u8f6c\u56de\u6765\u5373\u53ef\uff1b\u5982\u679c\u53d1\u7ed9\u4e86\u5408\u7ea6\u6216\u4ed6\u4eba\uff0c\u53ea\u80fd\u8054\u7cfb\u5bf9\u65b9\u534f\u5546\u3002<\/p><\/div><div class=\"cl-faq\"><b>Q3\uff1a\u4ea4\u6613\u6240\u663e\u793a\u7684\u91d1\u989d\u4e3a\u4ec0\u4e48\u548c\u6211\u7b97\u7684\u5dee\u4e00\u70b9\uff1f<\/b><p>\u4ea4\u6613\u6240\u901a\u5e38\u5c55\u793a\u5230\u56fa\u5b9a\u5c0f\u6570\u4f4d\u5e76\u505a\u56db\u820d\u4e94\u5165\uff0c\u94fe\u4e0a\u5b9e\u9645\u6570\u503c\u4ee5\u6700\u5c0f\u5355\u4f4d\u4e3a\u51c6\u3002\u5bf9\u8d26\u65f6\u5e94\u4ee5\u94fe\u4e0a\u6574\u6570\u9664\u4ee5 10^decimals \u7684\u7ed3\u679c\u4e3a\u51c6\u3002<\/p><\/div><h2>\u76f8\u5173\u9605\u8bfb<\/h2><ul class=\"cl-links\"><li><a href=\"https:\/\/lezoo6.com\/index.php\/news\/daily\/same-symbol-token-verification-five-checks\/\">\u94b1\u5305\u91cc\u591a\u51fa 500 USDT\uff0c\u5148\u522b\u6025\u7740\u70b9\uff1a\u540c\u540d\u4ee3\u5e01\u7684\u4e94\u4e2a\u6838\u9a8c\u70b9<\/a><\/li><li><a href=\"https:\/\/lezoo6.com\/index.php\/news\/daily\/token-approval-unlimited-revoke\/\">approve \u4e4b\u540e\u4ed6\u968f\u65f6\u80fd\u5212\u8d70\u4f60\u7684\u5e01\uff1a\u4e09\u6863\u6388\u6743\u989d\u5ea6\u4e0e\u4e00\u6b21\u64a4\u9500<\/a><\/li><li><a href=\"https:\/\/lezoo6.com\/index.php\/crypto-basics\/\">\u52a0\u5bc6\u57fa\u7840\u77e5\u8bc6<\/a><\/li><\/ul><div class=\"cl-note\"><b>\u53e3\u5f84\u8bf4\u660e\uff1a<\/b>decimals \u4e3a\u5408\u7ea6\u53c2\u6570\uff0c\u53ef\u80fd\u56e0\u90e8\u7f72\u7248\u672c\u4e0d\u540c\u800c\u53d8\u5316\uff0c\u8f6c\u8d26\u524d\u8bf7\u4ee5\u94fe\u4e0a <code>decimals()<\/code> \u8fd4\u56de\u503c\u4e3a\u51c6\u3002\u6587\u4e2d\u7b97\u4f8b\u4ec5\u7528\u4e8e\u6f14\u793a\u6570\u91cf\u7ea7\u5dee\u5f02\u3002\u672c\u6587\u53ea\u89e3\u91ca\u673a\u5236\uff0c\u4e0d\u6784\u6210\u6295\u8d44\u5efa\u8bae\u3002<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>USDT \u5728\u4ee5\u592a\u574a\u662f 6 \u4f4d\u5c0f\u6570\uff0c\u5728 BNB Chain \u662f 18 \u4f4d\u3002\u628a\u6700\u5c0f\u5355\u4f4d\u5f53\u300c\u679a\u300d\u6765\u586b\uff0c\u8f6c 1 \u679a\u4f1a\u53d8\u6210 0.000000000001 \u679a\uff0c\u6216\u8005\u53cd\u8fc7\u6765\u591a\u8f6c\u4e00\u4e07\u4ebf\u500d\u3002<\/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-2243","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages\/2243","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=2243"}],"version-history":[{"count":0,"href":"https:\/\/lezoo6.com\/index.php\/wp-json\/wp\/v2\/pages\/2243\/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=2243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}