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

Commit 9c9417a

Browse files
Alexspacesailor24
andauthored
correction in documentation for signtransaction accounts (#4674)
Co-authored-by: Wyatt Barnes <[email protected]>
1 parent 9b19af8 commit 9c9417a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,4 +497,5 @@ Released with 1.0.0-beta.37 code base.
497497

498498
### Fixed
499499
- Fix a typo in the documentation for `methods.myMethod.send` (#4599)
500-
- Updated README to include Webpack 5 create-react-app support instructions (#4173)
500+
- Correction in documentation for `web3.eth.accounts.signTransaction` (#4576)
501+
- Updated README to include Webpack 5 create-react-app support instructions (#4173)

docs/web3-eth-accounts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Parameters
151151

152152
1. ``tx`` - ``Object``: The transaction object as follows:
153153
- ``nonce`` - ``String``: (optional) The nonce to use when signing this transaction. Default will use :ref:`web3.eth.getTransactionCount() <eth-gettransactioncount>`.
154-
- ``chainId`` - ``String``: (optional) The chain id to use when signing this transaction. Default will use :ref:`web3.eth.net.getId() <net-getid>`. Web3 will ignore this field if `common.customChain.chainId` is provided.
154+
- ``chainId`` - ``String``: (optional) The chain id to use when signing this transaction. Default will use :ref:`web3.eth.getChainId() <getChainId>`. Web3 will ignore this field if `common.customChain.chainId` is provided.
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.

0 commit comments

Comments
 (0)