Skip to content

Commit fa49435

Browse files
committed
chore: add chainId to eth_sendTransaction parameters
1 parent a5d2fe9 commit fa49435

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/beige-radios-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added `chainId` as a parameter to `eth_sendTransaction`.

src/actions/wallet/sendTransaction.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ export async function sendTransaction<
218218
...extract(rest, { format: chainFormat }),
219219
accessList,
220220
blobs,
221+
chainId,
221222
data,
222223
from: account.address,
223224
gas,

0 commit comments

Comments
 (0)