Get Token Exchange Rate
Getting the Token Swap Rate
Runes Example
{
"send_coin_type": "btc",
"send_tick": "BTC",
"receive_coin_type": "runes",
"receive_tick": "COMMON•KIWI•SLICES",
"address": "0"
}
curl 'https://test-api-proxy.ddpurse.com/brc20swap/swap_info' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: en' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Origin: http://localhost:56651' \
-H 'Pragma: no-cache' \
-H 'Referer: http://localhost:56651/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw '{"send_coin_type":"btc","send_tick":"BTC","receive_coin_type":"runes","receive_tick":"COMMON•KIWI•SLICES","address":"0"}'
Last updated