Hello, I am trying to forward eth from one address to another, but I am executing the code and nothing is happening. what is the problem?
const Web3 = require(‘web3’)
const Tx = require(‘ethereumjs-tx’).Transaction
const web3 = new Web3(new Web3.providers.HttpProvider(‘https://mainnet.infura.io/’))
Do you have any logging of what is returned from Infura when you call sendSignedTransaction? Also, i notice you are using the plain endpoint, you will also need to create an account, setup a project and use your Project ID url to be safe.