From 68405724f5394bab25fdb0c0b90ebc11ce9f2344 Mon Sep 17 00:00:00 2001 From: rolandtyler <88206508+rolandtyler@users.noreply.github.com> Date: Thu, 6 Jan 2022 10:22:10 -0500 Subject: [PATCH] Clarify wording around gasPrice (#913) * Clarify wording around gasPrice Signed-off-by: Roland Tyler * Review feedback Signed-off-by: Roland Tyler --- docs/Reference/API-Objects.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Reference/API-Objects.md b/docs/Reference/API-Objects.md index 98fd557a0b1..c8fc1e3cdbd 100644 --- a/docs/Reference/API-Objects.md +++ b/docs/Reference/API-Objects.md @@ -196,7 +196,7 @@ and | **chainId** | Quantity | [Chain ID](../Concepts/NetworkID-And-ChainID.md). | | **from** | Data, 20 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 bytes | Hash of the transaction. | @@ -227,7 +227,7 @@ Parameter for [`eth_call`](API-Methods.md#eth_call) and | **from** | Data, 20 bytes | Address of the sender. | | **to** | Data, 20 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. |