From 1c528f5a3472b5b9a0be20a49961945d02e00ed0 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:30:15 -0800 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/public-networks/reference/api/index.md | 6 +++--- docs/public-networks/reference/cli/options.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/public-networks/reference/api/index.md b/docs/public-networks/reference/api/index.md index f7b89bedf43..a2432a2d49e 100644 --- a/docs/public-networks/reference/api/index.md +++ b/docs/public-networks/reference/api/index.md @@ -5465,7 +5465,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"miner_changeTargetGasLimit","par ### `miner_getMinPriorityFee` -Gets the minimum priority fee per gas (in Wei) offered by a transaction offers to be included in a block. The initial value is set using the [`--min-priority-fee`](../cli/options.md#min-priority-fee) command line option, or defaults to 0, if the command line option is not specified. +Gets the minimum priority fee per gas (in Wei) offered by a transaction to be included in a block. The initial value is set using the [`--min-priority-fee`](../cli/options.md#min-priority-fee) command line option, or is set to `0` if the command line option is not specified. Use [`miner_setMinPriorityFee`](#minersetminpriorityfee) to change the current value of the fee. #### Parameters @@ -5474,7 +5474,7 @@ None #### Returns -`result`: _string_ - Minimum priority fee per gas (in Wei) in hexadecimal +`result`: _string_ - Minimum priority fee per gas (in Wei) as a hexadecimal string @@ -5557,7 +5557,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"miner_setCoinbase","params":["0x ### `miner_setMinPriorityFee` -Sets the minimum priority fee per gas (in Wei) offered by a transaction offers to be included in a block. The initial value is set using the [`--min-priority-fee`](../cli/options.md#min-priority-fee) command line option, or defaults to 0, if the command line option is not specified. +Sets the minimum priority fee per gas (in Wei) offered by a transaction to be included in a block. The initial value is set using the [`--min-priority-fee`](../cli/options.md#min-priority-fee) command line option, or is set to `0` if the command line option is not specified. Use [`miner_getMinPriorityFee`](#minergetminpriorityfee) to get the current value of the fee. #### Parameters diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 1eb3dc3cccc..ea7b80e70b8 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -1903,9 +1903,9 @@ min-priority-fee=7 -The minimum priority fee per gas (in Wei) offered by a transaction offers to be included in a block. The default is 0 Wei. +The minimum priority fee per gas (in Wei) offered by a transaction to be included in a block. The default is `0`. For a running node, use: -* [`miner_getMinPriorityFee`](../api/index.md#minergetminpriorityfee) to get the value +* [`miner_getMinPriorityFee`](../api/index.md#minergetminpriorityfee) to get the value. * [`miner_setMinPriorityFee`](../api/index.md#minersetminpriorityfee) to change the value. ### `nat-method`