Calling a view function
A view
function does not use gas
when called, but if we decide to call a view function inside of another function which is a transaction, it then uses gas
.
calling
getNumberAt
uses no gas
Last updated
A view
function does not use gas
when called, but if we decide to call a view function inside of another function which is a transaction, it then uses gas
.
calling getNumberAt
uses no gas
Last updated