We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const transaction: Transaction = { from: tempAcc.address, to: '0x0000000000000000000000000000000000000000', value: BigInt(99999999999999999999999999999999999999999999999999999999999999), } try { await web3Eth.sendTransaction(transaction).on('error', error => console.log(error)); } catch (error) { console.log(error) }
Throws for HTTP:
HTTP
InvalidResponseError: Returned error: insufficient funds for transfer { innerError: { code: -32000, message: 'insufficient funds for transfer' }, code: 101, data: undefined }
Throws for WS or IPC:
WS
IPC
ResponseError: Returned error: insufficient funds for transfer { innerError: undefined, code: 100, data: undefined }
Thrown errors to be same
4.x
No response
The text was updated successfully, but these errors were encountered:
getRevertReason
spacesailor24
No branches or pull requests
Is there an existing issue for this?
Current Behavior
Throws for
HTTP
:Throws for
WS
orIPC
:Expected Behavior
Thrown errors to be same
Steps to Reproduce
Web3.js Version
4.x
Environment
Anything Else?
No response
The text was updated successfully, but these errors were encountered: