CBSA practice question 22 of 30

The gas price is a value set by the creator of the blockchain transaction? (Select best answer)

Full set: 229 questions
Answer options
A:

A. FALSE

B:

B. Its Negotiable

C:

C. TRUE

Correct Answer:
<P>C</P>
Explanation

The gas price is a value set by the creator of the transaction, who has to pay gas_price * gas up front from the sending account. If some gas is left after the execution, it is refunded in the same way. If the gas is used up at any point (i.e. it is negative), an out-of-gas exception is triggered, which reverts all modifications made to the state in the current call frame.

Scroll to Top