Skip to content

Commit 7ca466f

Browse files
authored
Update index.md
1 parent f98921c commit 7ca466f

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Transactions require a fee and must be included in a validated block. To make th
2323

2424
A submitted transaction includes the following information:
2525

26-
- `from` – the address of the sender, that will be signing the transaction. This will be an externally-owned account as contract accounts cannot send transactions.
26+
- `from` – the address of the sender, that will be signing the transaction. This will be an externally-owned account as contract accounts cannot send transactions
2727
- `to` – the receiving address (if an externally-owned account, the transaction will transfer value. If a contract account, the transaction will execute the contract code)
2828
- `signature` – the identifier of the sender. This is generated when the sender's private key signs the transaction and confirms the sender has authorized this transaction
2929
- `nonce` - a sequentially incrementing counter which indicates the transaction number from the account
@@ -170,7 +170,7 @@ Any gas not used in a transaction is refunded to the user account.
170170

171171
Gas is required for any transaction that involves a smart contract.
172172

173-
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)
173+
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

175175
Unlike when accessed using `eth_call`, these `view` or `pure` functions are also commonly called internally (i.e. from the contract itself or from another contract) which does cost gas.
176176

@@ -209,7 +209,7 @@ Where the fields are defined as:
209209
- `TransactionType` - a number between 0 and 0x7f, for a total of 128 possible transaction types.
210210
- `TransactionPayload` - an arbitrary byte array defined by the transaction type.
211211

212-
Based on the `TransactionType` value, a transaction can be classified as
212+
Based on the `TransactionType` value, a transaction can be classified as:
213213

214214
1. **Type 0 (Legacy) Transactions:** The original transaction format used since Ethereum's launch. They do not include features from [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) such as dynamic gas fee calculations or access lists for smart contracts. Legacy transactions lack a specific prefix indicating their type in their serialized form, starting with the byte `0xf8` when using [Recursive Length Prefix (RLP)](/developers/docs/data-structures-and-encoding/rlp) encoding. The TransactionType value for these transactions is `0x0`.
215215

0 commit comments

Comments
 (0)