ExamGecko
Question list
Search
Search

Question 21 - CBSA discussion

Report
Export

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

A.
FALSE
Answers
A.
FALSE
B.
Its Negotiable
Answers
B.
Its Negotiable
C.
TRUE
Answers
C.
TRUE
Suggested answer: C

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.

Reference: https://solidity.readthedocs.io/en/latest/introduction-to-smart-contracts.html#the-ethereum-virtual-machine

asked 16/09/2024
Felix Maroto Roman
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first