-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
1,535 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
BitMart.Net.UnitTests/Endpoints/Spot/Account/GetDepositAddress.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
GET | ||
/account/v1/deposit/address | ||
true | ||
{ | ||
"message":"OK", | ||
"code":1000, | ||
"trace":"0e6edd79-f77f-4251-abe5-83ba75d06c1a", | ||
"data":{ | ||
"currency":"USDT-TRC20", | ||
"chain":"USDT-TRC20", | ||
"address":"TGR3ghy2b5VLbyAYrmiE15jasR6aPHTvC5", | ||
"address_memo":"" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
BitMart.Net.UnitTests/Endpoints/Spot/Account/GetFundingBalances.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
GET | ||
/account/v1/wallet | ||
true | ||
{ | ||
"message":"OK", | ||
"code":1000, | ||
"trace":"ef834248-51d3-4223-9481-f862aa9dd39f", | ||
"data":{ | ||
"wallet":[ | ||
{ | ||
"currency":"USDT", | ||
"name":"Tether USD", | ||
"available":"1000.00000000", | ||
"frozen":"0.00000000" | ||
} | ||
] | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
BitMart.Net.UnitTests/Endpoints/Spot/Account/GetSpotBalances.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
GET | ||
/spot/v1/wallet | ||
true | ||
{ | ||
"code": 1000, | ||
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1", | ||
"message": "OK", | ||
"data": { | ||
"wallet": [ | ||
{ | ||
"id": "BTC", | ||
"available": "10.000000", | ||
"name": "Bitcoin", | ||
"frozen": "10.000000" | ||
} | ||
] | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
BitMart.Net.UnitTests/Endpoints/Spot/Account/GetWithdrawalQuota.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
GET | ||
/account/v1/withdraw/charge | ||
true | ||
{ | ||
"message":"OK", | ||
"code":1000, | ||
"trace":"62a80bde-0cb4-4bf1-b8e5-5ad2c71463e7", | ||
"data":{ | ||
"today_available_withdraw_BTC":"100.0000", | ||
"min_withdraw":"0.00000000", | ||
"withdraw_precision":8, | ||
"withdraw_fee":"0.00000000", | ||
"withdraw_Precision_GeTen": 10 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
POST | ||
/account/v1/withdraw/apply | ||
true | ||
{ | ||
"code": 1000, | ||
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1", | ||
"message": "OK", | ||
"data": { | ||
"withdraw_id": "121212" | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
BitMart.Net.UnitTests/Endpoints/Spot/ExchangeData/GetAssetDepositWithdrawInfo.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
GET | ||
/account/v1/currencies | ||
false | ||
{ | ||
"code": 1000, | ||
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1", | ||
"message": "OK", | ||
"data": { | ||
"currencies": [ | ||
{ | ||
"currency": "USDT", | ||
"name": "Tether USD", | ||
"contract_address": null, | ||
"network": "OMNI", | ||
"withdraw_enabled": false, | ||
"deposit_enabled": false, | ||
"withdraw_minsize": null, | ||
"withdraw_minfee": null | ||
}, | ||
{ | ||
"currency": "USDT-TRC20", | ||
"name": "USDT-TRC20", | ||
"contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", | ||
"network": "TRC20", | ||
"withdraw_enabled": true, | ||
"deposit_enabled": true, | ||
"withdraw_minsize": "10", | ||
"withdraw_minfee": "1" | ||
}, | ||
{ | ||
"currency": "USDT-ERC20", | ||
"name": "USDT-ERC20", | ||
"contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7", | ||
"network": "ERC20", | ||
"withdraw_enabled": true, | ||
"deposit_enabled": true, | ||
"withdraw_minsize": "26", | ||
"withdraw_minfee": "13" | ||
}, | ||
{ | ||
"currency": "USDT-BSC", | ||
"name": "USDT-BSC", | ||
"contract_address": "0x55d398326f99059fF775485246999027B3197955", | ||
"network": "BEP20(BSC)", | ||
"withdraw_enabled": true, | ||
"deposit_enabled": true, | ||
"withdraw_minsize": "2", | ||
"withdraw_minfee": "1" | ||
} | ||
] | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
BitMart.Net.UnitTests/Endpoints/Spot/ExchangeData/GetServerStatus.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
GET | ||
/system/service | ||
false | ||
{ | ||
"code": 1000, | ||
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1", | ||
"message": "OK", | ||
"data": { | ||
"service":[ | ||
{ | ||
"title": "Spot API Stop", | ||
"service_type": "spot", | ||
"status": "2", | ||
"start_time": 1527777538000, | ||
"end_time": 1527777538000 | ||
}, | ||
{ | ||
"title": "Contract API Stop", | ||
"service_type": "contract", | ||
"status": "2", | ||
"start_time": 1527777538000, | ||
"end_time": 1527777538000 | ||
} | ||
] | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
BitMart.Net.UnitTests/Endpoints/Spot/ExchangeData/GetTicker.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
GET | ||
/spot/quotation/v3/ticker | ||
false | ||
{ | ||
"code": 1000, | ||
"trace":"886fb6ae-456b-4654-b4e0-1231", | ||
"message": "success", | ||
"data": { | ||
"symbol": "BTC_USDT", | ||
"last": "30000.00", | ||
"v_24h": "582.08066", | ||
"qv_24h": "4793098.48", | ||
"open_24h": "28596.30", | ||
"high_24h": "31012.44", | ||
"low_24h": "12.44", | ||
"fluctuation": "0.04909", | ||
"bid_px": "30000", | ||
"bid_sz": "1", | ||
"ask_px": "31012.44", | ||
"ask_sz": "69994.75267", | ||
"ts": "1691671061919" | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
BitMart.Net.UnitTests/Endpoints/Spot/ExchangeData/TODOAsync.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.