◻️Get Fee Rates
Call frequency limit
Provide the trade rate between two tokens, the trade rate update rate is 5-10s
Url:
https://{host}/api/v1/getBaseInfo2. Request parameter instance
depositCoinCode
Yes
BTC
receiveCoinCode
Yes
ETH
depositCoinAmt
Yes
depositCoinAmt
sourceFlag
Yes
sourceFlag
3. Example of request parameters
{
"depositCoinCode":"ETH",
"receiveCoinCode":"BNB(BSC)",
"depositCoinAmt":"1.5",
"sourceFlag": "xxx"
}4.Example of returned results
5.Return Parameter Description
instantRate
instantRate
String
"Exchange rate of received currency/deposited currency accurate to ten decimal places"
depositMin
cdepositMin
String
Accurate to six decimal places
depositMax
depositMax
String
BitcoiAccurate to six decimal places
depositCoinFeeRate
depositCoinFeeRate
String
Accurate to six decimal places
chainFee
chainFee
String
Accurate to six decimal places
burnRate
burnRate
String
Default 0
Does it support gas free redemption
isSupportNoGas
Boolean
true/false
Whether or not to support exchange
isSupport
Boolean
true/false
Code Example
java code example
C# code example
Objective-C code example
Nodejs code example
Postman example

Response result example
Parameter
Explanation
minerFee
This value is for deposited tokens that utilize SWFTC for the exchange fee, SWFTC exchange fee = deposited amount * minerFee
receiveCoinFee
This value is the amount of network fee deducted after successful transfer, the units are displayed in the token type the user is receiving/buying, this can be used to calculate the approximate amount of tokens that the user will receive, or it will be used to display the amount of network fees deducted to complete the transfer.
Important Items:
For advanced trading, user's fee method is the deposited tokens, not SWFTC, therefore parameter "minerFee" can be ignored, the transaction fee is fixed at 0.3% (ex.: if depositing 0.1 BTC, the actual amount deducted is 0.0003btc as the transfer's transaction fee, when actually exchange, only 0.0997btc will be transferred)
Last updated