You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fees are a crucial part of the solana blockchain. They have recently become more dynamic with the advent of priority fees. These are account based and represent the demand on a specific set of accounts.
Alot of factors go into if a transaction will be picked up by the leader, with priority fees being a big one.
As a prover I need to ensure that I'm profitable given that I must do the work of execution and proving. I need a way to estimate the cost of sending claim and proving transactions to add them to the cost calculation that helps me determine if its worth proving. I need to know before claiming the cost of the fee tier to ensure my best possibility of winning the claim. I also need to calculate the cost of sending the proving transaction before deciding to claim. This means that we will need to have two calls to getRecentPrioritizationFees RPC Method.
Because the priority fee of the proving transaction will be based on all accounts involved we must call this prior to proving. Since proving takes on the order of seconds and getting fee information is on the order of milliseconds in most cases, this should be doable and cheap.
The text was updated successfully, but these errors were encountered:
Fees are a crucial part of the solana blockchain. They have recently become more dynamic with the advent of priority fees. These are account based and represent the demand on a specific set of accounts.
Alot of factors go into if a transaction will be picked up by the leader, with priority fees being a big one.
As a prover I need to ensure that I'm profitable given that I must do the work of execution and proving. I need a way to estimate the cost of sending claim and proving transactions to add them to the cost calculation that helps me determine if its worth proving. I need to know before claiming the cost of the fee tier to ensure my best possibility of winning the claim. I also need to calculate the cost of sending the proving transaction before deciding to claim. This means that we will need to have two calls to getRecentPrioritizationFees RPC Method.
Because the priority fee of the proving transaction will be based on all accounts involved we must call this prior to proving. Since proving takes on the order of seconds and getting fee information is on the order of milliseconds in most cases, this should be doable and cheap.
The text was updated successfully, but these errors were encountered: