{"id":2182,"date":"2022-05-02T12:00:27","date_gmt":"2022-05-02T03:00:27","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=2182"},"modified":"2022-05-02T23:28:01","modified_gmt":"2022-05-02T14:28:01","slug":"wei-gwei","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=2182","title":{"rendered":"<small>Wei ,  Gwei , Ether<\/small>"},"content":{"rendered":"<p>\uff11\uff0e\u5358\u4f4d<br \/>\n1 Ether =  1,000,000,000,000,000,000 Wei<br \/>\n1 Ether =  1,000,000,000 Gwei<br \/>\n1 GWai  =  1,000,000,000 Wei<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blog.wsd.sh\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-02-at-11-15-49-Gwei-Definition-and-Explanation-300x218.png\" alt=\"\" width=\"300\" height=\"218\" class=\"alignnone size-medium wp-image-2185\" srcset=\"https:\/\/blog.wsd.sh\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-02-at-11-15-49-Gwei-Definition-and-Explanation-300x218.png 300w, https:\/\/blog.wsd.sh\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-02-at-11-15-49-Gwei-Definition-and-Explanation.png 596w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>https:\/\/www.investopedia.com\/thmb\/XqqZp7mA1vGnK5DwIdfidNLuTIw=\/660&#215;0\/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)\/dotdash_INV_final_Gwei_Ethereum_Jan_2021-01-370e27f6becf4830b333dacffe739415.jpg<\/p>\n<p>\uff12\uff0enode\u3067\u306e\u5909\u63db<br \/>\n\u4f8b )<\/p>\n<pre>\r\n balanceWai = web3.eth.getBalance(web3, coinbase) ;\r\n\r\n balanceGwai = web3.utils.fromWei(balanceWei, 'Gwei');\r\n balanceWai = web3.utils.toWei(balanceGwei, 'Gwei');\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uff11\uff0e\u5358\u4f4d 1 Ether = 1,000,000,000,000,000,000 Wei 1 Ether = 1,000,000,000 Gwei 1 GWai = 1,000,000,000 Wei https:\/\/w&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2182"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2182"}],"version-history":[{"count":13,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2182\/revisions"}],"predecessor-version":[{"id":2199,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2182\/revisions\/2199"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}