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

Commit 5009bdd

Browse files
author
Alex
authored
Update web3-eth-accounts.rst (#5810)
1 parent 5807398 commit 5009bdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/web3-eth-accounts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Example
194194
web3.eth.accounts.signTransaction({
195195
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
196196
value: '1000000000',
197-
gas: 2000000
197+
gas: '2000000',
198198
}, '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318')
199199
.then(console.log);
200200
> {
@@ -209,7 +209,7 @@ Example
209209
web3.eth.accounts.signTransaction({
210210
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
211211
value: '1000000000',
212-
gas: 2000000,
212+
gas: '2000000',
213213
gasPrice: '234567897654321',
214214
nonce: 0,
215215
chainId: 1
@@ -228,7 +228,7 @@ Example
228228
web3.eth.accounts.signTransaction({
229229
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
230230
value: '1000000000',
231-
gas: 2000000
231+
gas: '2000000',
232232
common: {
233233
baseChain: 'mainnet',
234234
hardfork: 'petersburg',

0 commit comments

Comments
 (0)