You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should send batch request using sendRawTx RPC method if used with privateKey
Actual behavior
(node:47721) UnhandledPromiseRejectionWarning: Error: BatchRequest error: ["Response should be of type Array but is: object"]
at /node_modules/web3-providers/dist/web3-providers.cjs.js:824:17
at process._tickCallback (internal/process/next_tick.js:68:7)
The response object from web3-providers/dist/web3-providers.cjs.js:824:17:
response { jsonrpc: '2.0',
id: 0,
error:
{ code: -32601,
message:
'The method eth_sendTransaction does not exist/is not available' } }
I think it should sign tx, increment nonce and use sendRaw rpc method behind the scenes
Versions
web3.js: 1.0.0-beta.52
nodejs: v10.15.3
The text was updated successfully, but these errors were encountered:
Description
Expected behavior
should send batch request using sendRawTx RPC method if used with privateKey
Actual behavior
(node:47721) UnhandledPromiseRejectionWarning: Error: BatchRequest error: ["Response should be of type Array but is: object"]
at /node_modules/web3-providers/dist/web3-providers.cjs.js:824:17
at process._tickCallback (internal/process/next_tick.js:68:7)
The response object from
web3-providers/dist/web3-providers.cjs.js:824:17
:I think it should sign tx, increment nonce and use
sendRaw
rpc method behind the scenesVersions
The text was updated successfully, but these errors were encountered: