total gas usedis computed by KLVM based on the gas cost of the opcode and the intrinsic gas cost.
unit priceis the price of gas defined in Klaytn.
Gasis a measuring unit representing how much calculation is needed to process the user's transaction.
Unit priceis the price for a single gas. The unit price (also called
gas price) is set in the system by the governance. It is currently set to 250 ston (i.e., 250 x 10^9 peb) per gas and cannot be changed by user. The current value of the unit price can be obtained by calling the
invalid unit priceis returned when the gas price of a transaction is not equal to the unit price of Klaytn.