Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit f9344d8

Browse files
authored
Merge pull request #3413 from willrnch/1.x
update gasPrice to getGasPrice in doc
2 parents af64729 + 1dc6d33 commit f9344d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/web3-eth-accounts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Parameters
155155
- ``to`` - ``String``: (optional) The recevier of the transaction, can be empty when deploying a contract.
156156
- ``data`` - ``String``: (optional) The call data of the transaction, can be empty for simple value transfers.
157157
- ``value`` - ``String``: (optional) The value of the transaction in wei.
158-
- ``gasPrice`` - ``String``: (optional) The gas price set by this transaction, if empty, it will use :ref:`web3.eth.gasPrice() <eth-gasprice>`
158+
- ``gasPrice`` - ``String``: (optional) The gas price set by this transaction, if empty, it will use :ref:`web3.eth.getGasPrice() <eth-gasprice>`
159159
- ``gas`` - ``String``: The gas provided by the transaction.
160160
- ``chain`` - ``String``: (optional) Defaults to ``mainnet``.
161161
- ``hardfork`` - ``String``: (optional) Defaults to ``petersburg``.

0 commit comments

Comments
 (0)