I’m using ethers.js to connect to a speedy ETH node via ethers.providers.JsonRpcProvider() and attempting to send a tx via:
customHttpProvider.estimateGas(tx).then(function(estimate) {
... tx.gasLimit = estimate;
... tx.gasPrice = ethers.utils.parseUnits("0.1", "gwei");
... wallet.signTransaction(tx).then((signedTX)=>{
..... customHttpProvider.sendTransaction(signedTX).then(console.log);
..... });
...
... });
Error: processing response error (body="{“jsonrpc”:“2.0”,“id”:48,“error”:{“code”:-32000,“message”:“invalid sender”}}\n", error={“code”:-32000}, requestBody="{“method”:“eth_sendRawTransaction”,“params”:[“0xf86a038408653b02825208946e0d01a76c3cf4288372a29124a26d4353ee51be87b1a2bc2ec500008077a0d58cc834a706472fdc3c7e0f5c8882c557b742b4691b621ae4b9e615b08d613fa053e4e5c8ae321cacf82f301f0f55b71cb2f3826de9c3d309bce35f2da6bb489e”],“id”:48,“jsonrpc”:“2.0”}", requestMethod=“POST”, url=“https://speedy-nodes-nyc.moralis.io/keyremoved/eth/mainnet”, code=SERVER_ERROR, version=web/5.6.0)
Is this usage allowed via a speedy node?