Loading page
Our ticket on your site: every venue, every chain you allow. Configure it, then copy one snippet. API reference on the developers page.
The widget only offers these, for swaps and bridges. All are on by default.
What the widget shows first. Visitors can switch to any network above.
Fixed sides cannot be changed by the visitor: use it to sell your own token, or to quote one stock.
Paid from the output on top of 1k's 0.05%, settled by our router on Robinhood Chain.
<div id="swap"></div>
<script src="https://night.poptraderbot.xyz/embed.js"></script>
<script>
NightMarket.mount("#swap", {
chain: 4663,
in: "USDG",
out: "TSLA",
amount: 100,
onEvent: (e) => console.log(e.type, e),
});
</script>nm:ready, nm:quote and nm:swap appear here as the preview loads, quotes and trades.