Skip to content

Commit

Permalink
Update web3-eth-accounts.rst (#5810)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex authored Feb 8, 2023
1 parent 5807398 commit 5009bdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/web3-eth-accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Example
web3.eth.accounts.signTransaction({
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
value: '1000000000',
gas: 2000000
gas: '2000000',
}, '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318')
.then(console.log);
> {
Expand All @@ -209,7 +209,7 @@ Example
web3.eth.accounts.signTransaction({
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
value: '1000000000',
gas: 2000000,
gas: '2000000',
gasPrice: '234567897654321',
nonce: 0,
chainId: 1
Expand All @@ -228,7 +228,7 @@ Example
web3.eth.accounts.signTransaction({
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
value: '1000000000',
gas: 2000000
gas: '2000000',
common: {
baseChain: 'mainnet',
hardfork: 'petersburg',
Expand Down

0 comments on commit 5009bdd

Please sign in to comment.