Skip to content

wallet.sendTransaction(tx) defaults to wrong chainID #2484

Answered by ricmoo
AntonStrickland asked this question in Q&A
Discussion options

You must be logged in to vote

That id is the JSON-RPC request ID, which is completely unrelated to the chain ID.

My guess would be the gasLimit is the important thing missing; is the recipient a contract? The implicit call to estimate the gas may be returning a value such that the intrinsic cost exceeds the funds the wallet has. What do you get as a result is estimateGas for that tx?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AntonStrickland
Comment options

Answer selected by AntonStrickland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2483 on January 03, 2022 05:18.