API
BroTrade on Berachain websocket and REST API.
Last updated
BroTrade on Berachain websocket and REST API.
Last updated
The only difference between connecting to the BroTrade on Berachain API and the existing is changing the host headers for the live API endpoints on Vertex from prod
to bera-prod
.
Vertex API Endpoint Host Header = prod
BroTrade API Endpoint Host Header = bera-prod
Interacting with the BroTrade API will otherwise remain the same as the original Vertex API.
You can find a list of the live BroTrade on Berachain API endpoints below.
Gateway Websocket: wss://gateway.bera-prod.vertexprotocol.com/ws
Gateway REST: https://gateway.bera-prod.vertexprotocol.com/v1
Subscriptions: wss://gateway.bera-prod.vertexprotocol.com/subscribe
Archive (Indexer): https://archive.bera-prod.vertexprotocol.com/v1
Trigger: https://trigger.bera-prod.vertexprotocol.com/v1
Gateway Websocket: wss://gateway.bera-test.vertexprotocol.com/ws
Gateway REST: https://gateway.bera-test.vertexprotocol.com/v1
Subscriptions: wss://gateway.bera-test.vertexprotocol.com/subscribe
Archive (Indexer): https://archive.bera-test.vertexprotocol.com/v1
Trigger: https://trigger.bera-test.vertexprotocol.com/v1