sendSignedTransaction returned error invalid sender

Hi, Trying to send signed transaction with the following code. However getting an error as invalid sender.

var approveTX ={
from: web3.utils.toHex(user_wallet.address),
to: web3.utils.toHex(out_token_address),
gas: web3.utils.toHex(30000),
gasPrice: web3.utils.toHex(600),//gasPrice*ONE_GWEI,
data: web3.utils.toHex(out_token_info.token_contract.methods.approve(UNISWAP_ROUTER_ADDRESS, 1000000000).encodeABI()),
chainId: web3.utils.toHex(137)
var tx = new Tx(approveTX);
var serializedTx = tx.serialize();
var result = await web3.eth.sendSignedTransaction(‘0x’ + serializedTx.toString(‘hex’));

HTTP provider -${KEY}

1 Like

I did not lose any coins. I am trying to build a dapp. As part of my dapp development, broadcasting signed transaction using web3.eth.sendSignedTransaction to polygon mainnet. Where same code is working for ethereum mainnet.

I send a nft
But no deposit
Please chech
How should i checking…
Please help me…
Id transaction


My send
My recive add

1 Like