Skip to content

Commit

Permalink
chore: add chainId to eth_sendTransaction parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jun 21, 2024
1 parent a5d2fe9 commit fa49435
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-radios-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added `chainId` as a parameter to `eth_sendTransaction`.
1 change: 1 addition & 0 deletions src/actions/wallet/sendTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export async function sendTransaction<
...extract(rest, { format: chainFormat }),
accessList,
blobs,
chainId,
data,
from: account.address,
gas,
Expand Down

0 comments on commit fa49435

Please sign in to comment.