I have a server which signs a transaction and sends it the signedTx back to the client. i want to broadcast this tx from the client side, using Infura as a provider. I couldnt find info on how to do it.
2 Answers
For anyone using ethers.js V6, you can use the provider.broadcastTransaction function.
Just found out. Dont need to get signer from provider.
The tx can be sent by: provider.sendTransaction(signedTx)