1. Home
  2. bloXroute Documentation
  3. Transaction Streaming
  4. Local Ethereum Validation

Local Ethereum Validation

If you are using the Transactions feed with a Gateway, the bloXroute Gateway Pending Transaction Feed can confirm transactions by connecting to the Ethereum node’s websocket endpoint if the node is configured to publish new pending transactions.

If the Ethereum node does not publish these transactions, the bloXroute Gateway will still provide the Pending Transaction feed, but performance may not be optimal. It’s best to enable this support by doing the following.

Start your Ethereum node with the following parameters:

--ws --wsaddr <gateway IP address> --wsapi eth --wsport 8546 

Replace the above section with your gateway’s IP address. Ethereum’s websocket server will only allow connections from that IP.

If you change the port, then make sure to use the same port in the Gateway startup parameters.

To instruct the Gateway to connect to the Ethereum node websocket, start the bloXroute Gateway with the following arguments, in addition to the regular startup parameters ones earlier.

--eth-ws-uri ws://127.0.0.1:8546

Replace the IP address with your Ethereum node’s IP address if the two processes are not running on the same machine.