TronWeb via a proxy server

12 Views Asked by At

I'm using TronWeb with to broadcast transactions:

const tronWeb = new TronWeb({
      fullHost: "https://api.trongrid.io",
      headers: { "TRON-PRO-API-KEY": myTronApiKey },
      privateKey: walletKey
    })

I would like to change it now so that it does through a proxy server and not directly to "https://api.trongrid.io". How can I do this?

0

There are 0 best solutions below