Ethers.js – How to Broadcast Signed Transactions with Ethers.js?

ethers.jsinfura

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.

Best Answer

For anyone using ethers.js V6, you can use the provider.broadcastTransaction function.

Related Topic