Skip to content

Commit 847f128

Browse files
stolabwackerow
andauthored
Update public/content/developers/docs/transactions/index.md
Co-authored-by: Paul Wackerow <[email protected]>
1 parent 23b254f commit 847f128

File tree

1 file changed

+1
-1
lines changed
  • public/content/developers/docs/transactions

1 file changed

+1
-1
lines changed

public/content/developers/docs/transactions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Gas is required for any transaction that involves a smart contract.
172172

173173
Smart contracts can also contain functions known as [`view`](https://docs.soliditylang.org/en/latest/contracts.html#view-functions) or [`pure`](https://docs.soliditylang.org/en/latest/contracts.html#pure-functions) functions, which do not alter the state of the contract. As such, calling these functions from an EOA will not require any gas. The underlying RPC call for this scenario is [`eth_call`](/developers/docs/apis/json-rpc#eth_call)
174174

175-
However calling a `view` or `pure` function internally (ie: from the contract itself or from another contract) will cost gas.
175+
Unlike when accessed using `eth_call`, these `view` or `pure` functions are also commonly called internally (ie. from the contract itself or from another contract) which does cost gas.
176176

177177
## Transaction lifecycle {#transaction-lifecycle}
178178

0 commit comments

Comments
 (0)