hai,guys,how to estimate a fee of transaction, is there any Calculation formula？ thanks
Depending on the type of transaction there are formulas for calculating this.
Note. The cost of executing smart contracts depends on the smart contract code.
See here for how to calculate the costs of a multitude of transactions.
how to covert energy transaction to ccd , is there gasprice of blockchain like eth?
The price for a transaction (in micro CCD) is given by the following equation:
transaction price (in micro ccd) = energyCost * (euro/energy rate) * (microCCD/euro rate)
You can find the euro/energy rate and microccd/euro rate via the gRPC api (GetBlockSummary).
Note the fields in the resulting json are called ‘euroPerEnergy’ and ‘microGTUPerEuro’.