Hot answers tagged

10 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 ...
user avatar
  • 4,409
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 ...
user avatar
  • 2,327
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 ...
user avatar
  • 2,526
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, ...
user avatar
  • 2,526
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 ...
user avatar
  • 3,364
4 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 ...
user avatar
  • 2,327
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....
user avatar
  • 3,364
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 ...
user avatar
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 ...
user avatar
  • 2,327
3 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)). ...
user avatar
  • 999
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 ...
user avatar
  • 31
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 ...
user avatar
  • 421
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-...
user avatar
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.
user avatar
  • 3,364
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
user avatar
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.
user avatar
  • 2,348
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 ...
user avatar
  • 4,409

Only top scored, non community-wiki answers of a minimum length are eligible