Sample usage
get_pairs_info_response = requests.get(
f"https://api.swapple.org/api/v3/get-pairs-info",
headers=get_authorization_headers({})
)1A. First let's take a look at the FLOATING option
body = {
"from": "CARDUAH",
"to": "USDT",
"toNetwork": "TRX",
"fromAmount": 3000,
"rateType": "FLOATING",
}
estimate_amount_response = requests.post(
f"https://api.swapple.org/api/v3/estimate-amount",
json=body,
headers=get_authorization_headers(body)
)
1B. Now let's take a look at the FIXED option
Creating an order
Last updated