[SOLVED] Error: Invalid JSON RPC response: "Unauthorized" when send tx

hi everyone

iā€™m using a bsc speedy premium node to read mempool (pending transaction) and send transactions, i can read without any problem the mempool but when i try to send the transaction i get Error: Invalid JSON RPC response: "Unauthorized"

to send the tx i create an instance of the contract with web3.eth.Contract(abi, address) and call the method with contractInstance.methods.MyMethod(params).send({options})

i receive that error everytime, why? iā€™m unauthorized to send transactions???

did it work before and now you started to have this error?

1 Like

sorry, my bad, i was sending the tx with the wrong address, the topic can be closed

1 Like