From 9c9417a21dc6b51fda4d68090fa81ae9388226db Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 10 Jan 2022 13:41:30 -0500 Subject: [PATCH] correction in documentation for signtransaction accounts (#4674) Co-authored-by: Wyatt Barnes --- 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 96ee3c40ef9..9ed922075ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -497,4 +497,5 @@ Released with 1.0.0-beta.37 code base. ### Fixed - Fix a typo in the documentation for `methods.myMethod.send` (#4599) -- Updated README to include Webpack 5 create-react-app support instructions (#4173) \ No newline at end of file +- Correction in documentation for `web3.eth.accounts.signTransaction` (#4576) +- Updated README to include Webpack 5 create-react-app support instructions (#4173) 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.