From 475b53103699e56b089ee4460f89c86dc46c290f Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Jan 2022 12:19:45 -0500 Subject: [PATCH] correction in documentation for signtransaction accounts --- CHANGELOG.md | 3 ++- docs/web3-eth-accounts.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 182437c18f0..e7500bb37df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -496,4 +496,5 @@ Released with 1.0.0-beta.37 code base. ## [1.7.1] ### Fixed -- Fix a typo in the documentation for `methods.myMethod.send` (#4599) \ No newline at end of file +- Fix a typo in the documentation for `methods.myMethod.send` (#4599) +- Correction in documentation for `web3.eth.accounts.signTransaction` (#4576) \ No newline at end of file diff --git a/docs/web3-eth-accounts.rst b/docs/web3-eth-accounts.rst index 2cb66760495..054078f913a 100644 --- a/docs/web3-eth-accounts.rst +++ b/docs/web3-eth-accounts.rst @@ -151,7 +151,7 @@ Parameters 1. ``tx`` - ``Object``: The transaction object as follows: - ``nonce`` - ``String``: (optional) The nonce to use when signing this transaction. Default will use :ref:`web3.eth.getTransactionCount() `. - - ``chainId`` - ``String``: (optional) The chain id to use when signing this transaction. Default will use :ref:`web3.eth.net.getId() `. Web3 will ignore this field if `common.customChain.chainId` is provided. + - ``chainId`` - ``String``: (optional) The chain id to use when signing this transaction. Default will use :ref:`web3.eth.getChainId() `. Web3 will ignore this field if `common.customChain.chainId` is provided. - ``to`` - ``String``: (optional) The recevier of the transaction, can be empty when deploying a contract. - ``data`` - ``String``: (optional) The call data of the transaction, can be empty for simple value transfers. - ``value`` - ``String``: (optional) The value of the transaction in wei.