{"id":297,"date":"2022-09-12T23:01:32","date_gmt":"2022-09-12T21:01:32","guid":{"rendered":"https:\/\/ackeeblockchain.com\/blog\/?post_type=glossary&#038;p=297"},"modified":"2022-09-12T23:01:32","modified_gmt":"2022-09-12T21:01:32","slug":"gas-optimization","status":"publish","type":"glossary","link":"https:\/\/ackee.xyz\/blog\/glossary\/gas-optimization\/","title":{"rendered":"Gas optimization"},"content":{"rendered":"<p class=\"p1\">Gas is a <b>transaction fee<\/b> on the Ethereum blockchain; every time a transaction gets sent to the blockchain, a gas fee must be paid for the computational resources used by the transaction.<\/p>\n<p class=\"p1\">Gas is <b>expensive<\/b>. It is in our best interest to create contracts as gas efficient as possible without breaching security.<\/p>\n<p class=\"p1\"><b>Gas optimizations<\/b> refer to:<\/p>\n<ul class=\"ul1\">\n<li class=\"li1\">doing what is cheap and avoiding what is expensive in terms of gas costs on EVM blockchains;<\/li>\n<li class=\"li1\">doing what needs to be done as cheaply as possible.<\/li>\n<\/ul>\n<p class=\"p1\"><span class=\"s1\"><a href=\"https:\/\/mudit.blog\/solidity-gas-optimization-tips\/\">This blog post<\/a><\/span> shows a few basic gas optimization tips for those interested.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gas is a transaction fee on the Ethereum blockchain; every time a transaction gets sent to the blockchain, a gas fee must be paid for the computational resources used by the transaction. Gas is expensive. It is in our best interest to create contracts as gas efficient as possible without breaching security. Gas optimizations refer to: doing what is cheap and avoiding&hellip;<\/p>\n","protected":false},"author":12,"featured_media":0,"parent":0,"template":"","glossary-cat":[],"class_list":["post-297","glossary","type-glossary","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/glossary\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/users\/12"}],"version-history":[{"count":0,"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/glossary\/297\/revisions"}],"wp:attachment":[{"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/ackee.xyz\/blog\/wp-json\/wp\/v2\/glossary-cat?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}