Skip to content

Commit

Permalink
Clarify wording around gasPrice (#913)
Browse files Browse the repository at this point in the history
* Clarify wording around gasPrice

Signed-off-by: Roland Tyler <[email protected]>

* Review feedback

Signed-off-by: Roland Tyler <[email protected]>
  • Loading branch information
rolandtyler authored Jan 6, 2022
1 parent 2a7ef8b commit 6840572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Reference/API-Objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ and
| **chainId** | Quantity | [Chain ID](../Concepts/NetworkID-And-ChainID.md). |
| **from** | Data, 20&nbsp;bytes | Address of the sender. |
| **gas** | Quantity | Gas provided by the sender. |
| **gasPrice** | Quantity | (Optional) Gas price, in Wei, provided by the sender. Not used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). |
| **gasPrice** | Quantity | (Optional) Gas price, in Wei, provided by the sender. Used only in non-[`EIP1559`](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions) transactions. |
| **maxPriorityFeePerGas** | Quantity, Integer | (Optional) Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. Used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). |
| **maxFeePerGas** | Quantity, Integer | (Optional) Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. Used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). |
| **hash** | Data, 32&nbsp;bytes | Hash of the transaction. |
Expand Down Expand Up @@ -227,7 +227,7 @@ Parameter for [`eth_call`](API-Methods.md#eth_call) and
| **from** | Data, 20&nbsp;bytes | Address of the sender. |
| **to** | Data, 20&nbsp;bytes | Address of the action receiver. |
| **gas** | Quantity, Integer | Gas provided by the sender. `eth_call` consumes zero gas, but other executions might need this parameter. `eth_estimateGas` ignores this value. |
| **gasPrice** | Quantity, Integer | Gas price, in Wei, provided by the sender. The default is `0`. Can't be used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). |
| **gasPrice** | Quantity, Integer | Gas price, in Wei, provided by the sender. The default is `0`. Used only in non-[`EIP1559`](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions) transactions. |
| **maxPriorityFeePerGas** | Quantity, Integer | Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. Can be used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). If used, must specify `maxFeePerGas`. |
| **maxFeePerGas** | Quantity, Integer | Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. Can be used only in [`EIP1559` transactions](../Concepts/Transactions/Transaction-Types.md#eip1559-transactions). If used, must specify `maxPriorityFeePerGas`. |
| **value** | Quantity, Integer | Value transferred, in Wei. |
Expand Down

0 comments on commit 6840572

Please sign in to comment.