DotSwap Nexus Integration
English
English
  • Intro
  • Quickstart Guide
  • General
    • API Access
  • Global
    • Get All Tickers
    • Get Exchange Rate
    • Get Token List
    • Data Queries
  • Swap
    • Runes
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • BRC20
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Pre-Swap Request
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • ARC20
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • CAT20
  • Liquidity Management
    • Runes
      • Get Available Tokens
      • Get Token Exchange Rate
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
    • BRC20
      • Get Available Tokens
      • Get Token Exchange Rate
      • Pre Liquidity
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
    • ARC20
      • Get Available Tokens
      • Get Token Exchange Rate
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
  • Remove Liquidity
    • Removing Liquidity
  • CAT20
    • Split
  • Trading
    • Bitcoin Channel
Powered by GitBook
On this page
  • Welcome
  • Examples
  • Global
  • Notes

Quickstart Guide

PreviousIntroNextAPI Access

Last updated 3 months ago

Welcome

Welcome to the DotSwap API documents, where you can find all the documentation you need. If the link you currently have does not work, you can always go to to get the latest documentation address.

Examples

Every module of this documentation will provide viable examples for DotSwap's current process flow. Example execution methods include:

  • curl, which you can copy to any place that can execute curl to see the results, like the terminal in Mac.

  • Test parameters, which you can directly copy into the provided apifox documentation for online debugging. (Clicking on any document's interface will take you to the current interface's apifox documentation.)

Global

  • Test environment API prefix:

  • Production environment API prefix:

Notes

  1. The documentation will provide TypeScript interfaces. If there is a discrepancy with the Apifox parameters, the TypeScript parameters in this document will prevail.

  2. The notes in each document should cover most of the problems you might encounter, please do not ignore them.

  3. On DotSwap, all interface BTC communication units are in satoshis (0.00000001 BTC). That is, the backend returns satoshis and also receives in satoshis.

  4. The value of fee_rate must be greater than or equal to the priority level in the BTC . Access Mempool's fee rate interface 👉

All examples provided in this document are for the test environment.

https://www.dotswap.app/
https://test-api-proxy.ddpurse.com
https://api.dotswap.app
Mempool
here