Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
In transactions, what are "compute_gas_fees" and "other_fee"?

What are compute_gas_fees and other_fee? They consume much more coins than gas fee. Is there a way to lower them?


Question imported from Telegram Chat: https://t.me/tondev_eng/9086

  
  
Posted 15 days ago
Votes Newest

Answers


compute_gas_fees and other_fee are fees charged by the TON network for processing smart contract transactions.

compute_gas_fees are the fees charged for the computation required to execute the smart contract code. This includes the cost of processing instructions, reading and writing data to the blockchain, and validating transactions. The amount of compute_gas_fees charged depends on the complexity of the smart contract code and the amount of resources required to execute it.

other_fee is a catch-all fee that includes other costs associated with processing transactions, such as the cost of storing data on the blockchain or the cost of bandwidth used by the network.

Unfortunately, there is no way to lower these fees directly. However, there are some ways to optimize your smart contract code to reduce the amount of compute_gas_fees charged. This includes optimizing algorithms, reducing unnecessary computations, and minimizing the amount of data stored on the blockchain.

Additionally, it is possible to negotiate fees with validators or use alternative networks with lower fees, but this requires additional research and may come with other tradeoffs.

Can take more details here about Fees:
https://ton.org/docs/develop/smart-contracts/fees#basic-fees-formula

2
2
Posted 14 days ago
103 Views
1 Answer
15 days ago
14 days ago
Tags