Gas prices on Ethereum are hard to predict; they can be as cheap as 1 gwei or less at off-peak hours, while some transactions pay into the hundreds of gwei to buy into that juicy ICO or hit an order on EtherDelta before any other players.
GasToken works by taking advantage of the storage refund in Ethereum. To encourage contracts to delete storage variables (that all nodes have to store forever!), Ethereum provides a refund when a storage element is deleted. This refund can pay for up to half of the gas used by a contract transaction (simple sends are not eligible for a refund, since they already use the minimum amount of gas; batched sends to contracts, however, can benefit from GasToken).
The way GasToken works is simple: you create (or
mint) GasToken tokens by saving data into the GasToken contract’s storage, when gas prices are low. When gas prices are high (during an ICO, during peak hours, whatever), you spend (or
free) GasToken tokens by sending them back to the GasToken contract for destruction, freeing up the data saved in an earlier step. This new transaction now gets a refund, making it much cheaper to execute than the same transaction that doesn’t use GasToken. The general mechanism of banking storage at low prices and releasing it at high prices had been previously suggested for miners (a miner that encounters a non-full block has incentive to fill it up with storage-filling transactions). GasToken extends this idea to all Ethereum users (not just miners) by introducing a simple way of tokenizing stored gas. GasToken complies with the ERC20 token standard, thus allowing free exchange of gas tokens between users.
There are actually two versions of GasToken: one that uses storage to bank gas, and another one that banks gas by creating contracts. The latter takes advantage of the gas refund obtained when deleting a whole contract. The two GasToken variants have different efficiency profiles, and users should choose which is more appropriate for their use case (see: GST1 vs. GST2).
It’s a simple, powerful idea. Use GasToken in this manner, and pay less per contract transaction than anyone else on the Ethereum network.
Choosing the Best Transaction Times for ETH Gas Fees
There are several factors to consider when choosing the best time for a trade. Firstly, it’s important to be aware of the current state of the network. Gas fees tend to be higher during high network congestion periods when many users compete for limited block space. Monitoring the network in real time and adjusting your transaction strategy accordingly is important.
In addition, it’s worth considering the time of day and day of the week. Gas fees may be lower during off-peak hours when most users in a particular time zone are less active. Based on historical data, gas fees have tended to be lower during:
Early morning hours in the US (between 4 – 6 am EST)
Late at night in the US (between 11 pm – 1 am EST)
Weekends (especially Sundays)