11
votes
Accepted
What is the adequate fee for a reveal operation?
The question as stated confuses different things.
A "reveal" operation is an operation that writes on the chain the public key associated with a public key hash for an implicit account. The fee ...
8
votes
Accepted
How to manage rewards for small delegators?
The best solution is to apply the minimum payout rule. So, you will pay the delegator only when this value is reached.
For example, let MinPayout = 0.01, then:
Cycle Reward Debt Payout
#n ...
5
votes
Accepted
Is allocation fee re-charged after a network upgrade?
Allocation fee is charged every time you send tez to an empty account (with zero balance). So, if you send tez to the account with zero balance, then withdraw everything, and send tez again, you will ...
4
votes
What is the adequate fee for a reveal operation?
The fee for adding a new account to the global state (--burn-cap with tezos-client) is 0.257 XTZ.
The origination burn is calculated as Tez_repr.(cost_per_byte *? (Int64.of_int origination_size)).
...
4
votes
Burn fee for empty account
Fees and burns are different, completely separate, things. A fee is paid to the baker, a burn is destroyed.
The 0.257 burn for allocating a new implicit account is, indeed, a burn, representing the ...
4
votes
Accepted
How does tezos-client compute a transaction fee?
The fee computation follows the formula.
The only subtle thing here is that the fee itself can affect the size of the operation in binary. This usually doesn't matter, but to handle the general case, ...
4
votes
How to calculate price of gas
In Tezos, gas does not have a monetary translation. It does not "cost" you anything to execute a contract with 10 gas vs 1M gas. Gas is simply an internal limitation to prevent contracts from running ...
4
votes
Accepted
Get Baker Fee percent from address
You can find this information on baker rating sites such as https://baking-bad.org/.
3
votes
Rewards for Operations
Here is a short description of how operations can affect balance:
Transaction - transfer | fee
Revelation - fee
Origination - transfer | fee
Delegation - fee
Endorsement - reward
...
3
votes
Accepted
Inconsistently being charge burn fees
When you transfer out of an address which has never revealed its public key, you must pay a burn to do this reveal operation. This was added back in, IIRC, 004 to prevent new address creation spamming....
3
votes
Is Tezos blockchain vulnerable to "frontrunning"?
Choosing the order in which operations are applied is a privilege of the baker. So yes, frontrunning is possible on Tezos and can either be done by setting high fees (the default baker strategy is to ...
3
votes
How to calculate price of gas
After asking, there is no equivalent of a gas price in Tezos. You pay a transaction fee, and this fee should include everything. Doing some stats on the fees you may get an upper-bound on the gas ...
2
votes
Accepted
Is it possible to estimate transaction fee without using a private key?
You can use any signature in place of that parameter. For example, you can use edsigtXomBKi5CTRf5cjATJWSyaRvhfYNHqSUGrn4SdbYRcGwQrUGjzEfQDTuqHhuA8b2d8NarZjz8TRf65WkpQmo423BtomS8Q and it should return ...
2
votes
How to manage rewards for small delegators?
To simplify the calculations, we advise you to use the program for the automatic distribution of awards. It reads and pays for any amount delegated to you
https://github.com/habanoz/tezos-reward-...
1
vote
How to calculate gas fee for transaction?
Have a look at file estimate.ts in the taquito repository.
The base value is what you call low, from there you just need to define some thresholds for average and fast.
Also remember, there is a ...
1
vote
Accepted
What is the one-time 0.257 tz burn fee?
The burn fee is a payment you make to "initialize" a new address or contract. This prevents mass-spam creation of addresses with no contents/value from clogging up storage.
1
vote
How to define (calculate) fee parameter for transfer?
You can use taquito for this. (https://tezostaquito.io/docs/estimate)
Operation cost for invoking smart contract
1
vote
How to estimate transation fee, gas limit, storage limit through ConseilJS?
Try TezosNodeWriter.testContractInvocationOperation. You can read its documentation here. You can find it used in an example here.
1
vote
how to estimate paid_storage_size_diff?
The best way to estimate it is to use the CLI like you've done. Otherwise, you need to know the contract's high water mark (the most storage it ever held), the current size of its storage, whether the ...
Only top scored, non community-wiki answers of a minimum length are eligible