Integration
Swapping and Aggregation
Running a Broker
Broker Working Example

Working Example

Running a Broker API locally

To run the Broker API locally, head to this (opens in a new tab) repo on Github and follow the instructions.

Trying a working Broker API

If you want to try out the Broker functionality, we have deployed and exposed this endpoint:

We strongly recommend operating your own APIs and never rely on 3rd parties. However, for testing purposes, feel free to use our Broker API.

Deploying Schema

Brokers (and LPs) should ideally run their own local RPC nodes. These nodes connect to the network and expose the LP & Broker APIs locally to the backend they want to use.


Broker API deploying example

Avoid using the public RPC node since its particularly vulnerable to DDOS or other various attacks

;