Exploring the Gas Economics of Ethereum Liquid Staking with StakeWise V3: A Comprehensive Analysis by Brick Towers

This article analyses the world of Ethereum liquid staking, specifically through the lens of Brick Towers’ innovative non-custodial StakeWise V3 platform. It offers a detailed examination of transaction costs from a staking provider’s perspective, focusing on the operational and running expenses of both public and institutional vaults. The piece thoroughly analyzes various accounts involved in the process, including operators, stakers, and vault administrators, emphasizing the impact of gas fees on Ethereum staking rewards.

Additionally, it provides practical insights into the initial costs and potential earnings for staking providers and stakers, backed by real-world data and examples.

This article is essential reading for anyone interested in the financial mechanics and opportunities of Ethereum liquid staking, whether they are node operators, individual investors, or institutional players.


Parties

While working on our Ethereum offering to enable non-custodial and secure liquid staking with StakeWise V3 for our public and institutional vaults

We analyzed the transactions that are made by the different parties involved from a node operator perspective in terms of gas fees. This was primarily to understand the initial and the running cost of our vaults and look at the offering from a customer / staker point of view, as the transaction fees can eat significantly into the ETH staking rewards, depending on the customer’s amount staked.

As such, we are focusing on the following accounts, which exclude any oracle and keeper (both non-public repositories) related interactions:

Operator

The service of the node operator, such as Brick Towers, running the vault with its specific terms. This account is a hot wallet.

Staker

Individuals or entities using a vault to stake ETH, earn staking rewards, mint and burn the liquid staking token osETH, and unstake ETH from the vault. All within their own control.

Vault admin

Admin account of the node operator, managing the vault’s whitelist, branding, fee recipient, etc. A multi-sig type of wallet is advisable.

Vault fee address

The account of the node operator collecting the staking fees (generated on execution and consensus layers) from the vault. This can be the same address as the vault admin, but it is advisable to set up and use a different account for separation of concerns.

Vault Interaction

The list of vault interactions is tabularized here:

DateTx HashSenderReceiverPayeeContract AddressMethodFrequencyCommentValue (ETH)Gas LimitGas UsageGas Price (Görli)Gas Price (mainnet)Transaction Fee (Goerli ETH)Transaction Fee (mainnet ETH)ETHUSD PriceTransaction Fee (Goerli USD)Transaction Fee (mainnet USD)
06/11/20230x51e9…1ac0Vault adminVault factoryVault admin0xb3be…8c4b00. Create VaultonceCreate the vault0394,311374,4111.500000009500.000560.01872$2,000.00$1.12$37.44
06/11/20230x16e8…9170Vault adminVault contractVault admin0x53ad…de8301. Set Validators RootonceSet the root of the validators-57,57957,1241.500000008500.000090.00286$2,000.00$0.17$5.71
06/11/20230x2961…4c90StakerVault contractStaker0x53ad…de8302. Deposit (first)onceFirst deposit to the vault, it changes some variables from 0 to some value. In solidity updating the variable that's not 0 is cheaper than updating the one that is 0.12869,91769,2721.000000015500.000070.00346$2,000.00$0.14$6.93
06/11/20230x1202…03aaStakerVault contractStaker0x53ad…de8303. DepositEach depositRegular deposit1,60054729543211.000000013500.000050.00272$2,000.00$0.11$5.43
06/11/20230xd70a…2404OperatorVault contractOperator0x53ad…de8304. Register Validators (2)Every time a new validator is registered (every 32 ETH)2 validators registered-312,341308,2720.000000012500.000000.01541$2,000.00$0.00$30.83
06/11/20230x2e5f…6ed8OperatorVault contractOperator0x53ad…de8305. Register Validators (10)Every time a new validator is registered (every 32 ETH)10 validators registered-658,788650,1360.000000013500.000000.03251$2,000.00$0.00$65.01
07/11/20230x3689…20e6Vault adminVault contractVault admin0x53ad…de8306. Multicall (MetadataUpdated, WhiteListerUpdated)Once every vault branding is updatedUsed to update the vault branding-44,49644,3001.50000001500.000070.00222$2,000.00$0.13$4.43
21/11/20230x09bf…eeecVault adminVault contractVault admin0x53ad…de8307. Multicall (WhitelistUpdated)Every time an address is whitelisted for a private vaultUsed to update the whitelist of addresses for private vault-57,60957,1461.500000018500.000090.00286$2,000.00$0.17$5.71
16/11/20230xf225…6013StakerVault contractStaker0x53ad…de8308. Update State And DepositEach deposit if not updated by operatorThe state update is what calculates the rewards/penalties for the Vault, reprices the Vault shares accordingly, and distributes the Vault fees to the Vault fee address32147,171145,3901.000000013500.000150.00727$2,000.00$0.29$14.54
17/11/20230x5fb3…3534Vault adminVault contractVault admin0x53ad…de8309. Multicall (WhiteListerUpdated, FeeRecipientUpdated)Each time vault fee address is updatedUsed to update the vault fee recipient address-56,00255,6121.500000009500.000080.00278$2,000.00$0.17$5.56
20/11/20230xee36…39b2OperatorVault contractOperator0x53ad…de8310. Update StateEvery 24 hours, if flag is set on operator and no Staker interaction happened since in the vaultOperator successfully updated state, fee shares were minted-99,62598,5750.000000014500.000000.00493$2,000.00$0.00$9.86
20/11/20230xddc0…7068Vault contractVault fee addressVault fee address0x53ad…de8311. Unstake Multicall (Redeemed)Every time operator wants to retrieve commission from vaultVault fee address (operator) redeems shares and receives ETH-73,22669,5511.500000012500.000100.00348$2,000.00$0.21$6.96
22/11/20230x54ef…e3d4StakerVault contractStaker0x53ad…de8312. Multicall (Transfer, StateUpdated, Transfer, Mint, OsTokenMinted)Every mint of osETH tokenStaker mints osETH token through vault UI-131,384127,8291.500000027500.000190.00639$2,000.00$0.38$12.78
23/11/20230x619b…42c3StakerVault contractStaker0x53ad…de8313. Burn Os TokenEvery burn of osETH tokenBurn osETH token-80,33979,5271.00000001500.000080.00398$2,000.00$0.16$7.95
04/11/20230xe424…21e9OperatorKeeper contractOperator0x893c…c6fd14. Update Exit SignaturesOn demand-85,78185,7810.000000009500.000000.00429$2,000.00$0.00$8.58
11/12/20230x60aa…85c0Vault contractStakerStaker0x53ad…de8315. Unstake Multicall (Redeemed)Every time unstaking does not lead to validator exit, same as 11.Staker unstakes without validator exit73,23869,5631.500000022500.000100.00348$2,000.00$0.21$6.96
24/11/20230xe424…21e9Vault contractStakerStaker0x53ad…de8316. Unstake Multicall (Redeemed, ExitQueueEntered)Every time unstaking leads to validator exitStaker unstakes so much that a validator is exited-159,050153,8901.500000011500.000230.00769$2,000.00$0.46$15.39
24/11/20230x2f84…e5beVault contractStakerStaker0x53ad…de8317. Unstake Multicall (ExitQueueEntered)Every time unstaking happens during validator exitStaker unstakes while a validator is exited-106,643104,2281.500000016500.000160.00521$2,000.00$0.31$10.42
Vault interactions

and can be looked at in full from the following shared Google Sheet:

StakeWise V3 – Gas Fees Economics

Each interaction encompasses a specific on-chain transaction and the table shows the following properties for each interaction:

  • Sender: Who is the sender and signer of the transaction
  • Receiver: Who is the receiver of the transaction (contract or EOA address) and the transacted value (if applicable)
  • Payee: Who pays for the gas fees, i.e. the transaction cost (can be either sender or receiver)
  • Method: The method called on the specific contract forming part of the transaction
  • Frequency: Estimated frequency of this type of interaction
  • Value (ETH): Transacted ETH, if applicable
  • Comment: Further details on the interaction
  • Gas Limit and Gas Usage: Provides the important heaviness of the interaction, and determines the fixed parameter of the transaction cost
  • Gas Price: Cost of the gas at the time of making the transaction. This is estimated for mainnet (from Etherscan), for testnet (Görli or Holesky) the gas price is not representative of the actual cost, as blockchain demand on testnets is not comparable to mainnet
  • Transaction Fee (ETH): Based on gas usage and estimated gas price, the calculated transaction fee for the interaction
  • ETHUSD Price: Estimated exchange rate from ETH to USD, taken from Google Finance
  • Transaction Fee (USD): Calculated transaction fee for the interaction, based on transaction fee in ETH and ETHUSD Price.

In this context, it is worth noting that StakeWise V3 vaults are designed having principles of ERC-4626 Tokenized Vault Standard (used e.g. in Yearn Finance, Balancer pools, Frax Finance, Maple Finance) in mind.

This means that any participant in the vault who has a claim on the assets (ETH), is equipped with an adequate number of shares upon contribution with his stake or receipt of staking rewards and attribution of fees (node operator). To receive the asset from the claim, these shares must be converted into assets with an on-chain transaction, as outlined in the table and paid for with gas fees by the payee.
This is different in the dedicated staking case, where staking rewards are directly received by the withdrawal account on the beacon chain, without any gas fees involved.

Gas Fees

The summary of resulting gas fees for each type of vault interaction and the payee is then summarised in the table below and the Google Sheet tab “Gas Fees”.

Table of gas fees for each StakeWise V3 vault interaction
Gas fees incurred for vault interactions

It shows that e.g. for a staking provider creating the vault, setting it up with branding, whitelisting, etc. bootstrapping it with the first validator, and retrieving the first staking fees, with a gas price of around 50 Gwei, a minimum of almost 0.05 ETH is required to be spent.

Table of the initial cost for a staking provider
Staking Provider — Initial Cost

At an ETHUSD exchange rate of $2,000, this translates into a $100 upfront expense. With a supposed staking fee of 5% and an expected 5% APY for the staking rewards of the vault, this requires a 32 ETH validator stake to be kept in the Vault for 8 months before the staking provider starts earning net positive.

From a staker perspective, a deposit to stake and an unstaking action to retrieve the stake plus staking rewards are accounted for with a minimum ETH fee of approx. 0.01 ETH.

For minting and burning osETH, an additional minimum of approx. 0.01 ETH has to be accounted for.

Table of costs for staking and unstaking ETH and minting and burning osETH
Staker — Costs for staking/unstaking ETH and minting/burning osETH

Again, using the estimated values from above, this results in an approx. minimum $22 fee for staking and unstaking and similarly for minting and burning osETH. Thus, a minimum stake of approx. 0.42 ETH ($840) is required for the staking rewards to earn these fees in the first year and break even.

Overall, this analysis provides a solid starting point for understanding the economic dynamics involved in vault interactions. However, it’s important to approach these findings with a degree of caution, considering the numerous variables such as gas price, number of stakers, active validators, exiting validators in the vault and the network as a whole, etc., and potential fluctuations in the vault’s lifecycle (whitelisting, branding updates, fee address updates, etc.).

To gain a more nuanced understanding and to stay ahead in this evolving landscape, we encourage you to .

Contact Us

Tell us how we can help — we typically reply within one business day.