Skip to content

Commit

Permalink
Spot v3 en (#218)
Browse files Browse the repository at this point in the history
* Update index.html.md

* Update index.html.md

* Update build.yml

* Update index.html.md

* Update index.html.md

* Update index.html.md

* Update index.html.md

* Update index.html.md

* Update index.html.md

* Update index.html.md

* Update index.html.md
  • Loading branch information
ross-ht authored Jun 14, 2024
1 parent ea80d3f commit f57a6c7
Showing 1 changed file with 65 additions and 12 deletions.
77 changes: 65 additions & 12 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ To apply for a partnership, please contact: **[email protected]**

# Change Log

## **2024-06-09**
- Query The Currency Information endpoint add params:netWork,network will offline soon.
- Add new withdraw endpoint,previous withdraw endpoint will offline soon.

## **2024-05-15**
- Add query commission endpoint

Expand Down Expand Up @@ -2549,7 +2553,8 @@ Get /api/v3/capital/config/getall
"sameAddress": false,
"contract": "TN3W4H6rK2ce4vX9YnFQHwKENnHjoxbm9",
"withdrawTips": "Both a MEMO and an Address are required.",
"depositTips": "Both a MEMO and an Address are required."
"depositTips": "Both a MEMO and an Address are required.",
"netWork": "EOS"
},
{
"coin": "BTC",
Expand All @@ -2566,7 +2571,8 @@ Get /api/v3/capital/config/getall
"sameAddress": false,
"contract": "0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c",
"withdrawTips": null,
"depositTips": null
"depositTips": null,
"network": "BTC"
}
]
},
Expand All @@ -2592,34 +2598,33 @@ Response:
| Name | Description |
| :------------ | :-------- |
|depositEnable|depositEnable|
|network|withdraw network|
|withdrawEnable|withdrawEnable|
|withdrawFee|withdrawFee|
|withdrawMax|Max withdraw amount|
|withdrawMin|Min withdraw amount|
|contract|coin contract|
|withdrawTips|withdrawTips|
|depositTips|depositTips|
|network|withdraw network(previous params,offline soon)|
|netWork|withdraw network(new params,for new withdraw endpoint)|

## Withdraw
## Withdraw(new)

> Request
```
post /api/v3/capital/withdraw/apply?coin=EOS&address=zzqqqqqqqqqq&amount=10&network=EOS&memo=MX10086&timestamp={{timestamp}}&signature={{signature}}
post /api/v3/capital/withdraw?coin=EOS&address=zzqqqqqqqqqq&amount=10&network=EOS&memo=MX10086&timestamp={{timestamp}}&signature={{signature}}
```
> Response
```json
[
{
{
"id":"7213fea8e94b4a5593d507237e5a555b"
}
]
}
```


- **POST** ```/api/v3/capital/withdraw/apply```
- **POST** ```/api/v3/capital/withdraw```

**Permission:** SPOT_WITHDRAW_WRITE

Expand All @@ -2631,15 +2636,16 @@ Parameters:
| :------ | :-------- |:----------|:---------------------------------------------------------------|
|coin|string| YES | coin |
|withdrawOrderId|string| NO | withdrawOrderId |
|network|string| NO | withdraw network |
|netWork|string| NO | withdraw network |
|contractAddress|string| NO | coin contract address |
|address|string| YES | withdraw address |
|memo|string| NO | memo(If memo is required in the address, it must be passed in) |
|amount|string| YES | withdraw amount |
|remark|string| NO | remark |
|timestamp|string| YES | timestamp |
|signature|string| YES | signature |

Can get `network` via endpoints `Get /api/v3/capital/config/getall`'s response params `networkList`.
Can get `netWork` via endpoints `Get /api/v3/capital/config/getall`'s response params `networkList`.

Response:

Expand Down Expand Up @@ -3485,6 +3491,53 @@ If startTime and endTime are not provided, will default to returning data from t
|status |status|
|timestamp |timestamp|

## Withdraw(previous,offline soon)

> Request
```
post /api/v3/capital/withdraw/apply?coin=EOS&address=zzqqqqqqqqqq&amount=10&network=EOS&memo=MX10086&timestamp={{timestamp}}&signature={{signature}}
```
> Response
```json
[
{
"id":"7213fea8e94b4a5593d507237e5a555b"
}
]
```


- **POST** ```/api/v3/capital/withdraw/apply```

**Permission:** SPOT_WITHDRAW_WRITE

**Weight(IP):** 1

Parameters:

| Name | Type| Mandatory | Description |
| :------ | :-------- |:----------|:---------------------------------------------------------------|
|coin|string| YES | coin |
|withdrawOrderId|string| NO | withdrawOrderId |
|network|string| NO | withdraw network |
|address|string| YES | withdraw address |
|memo|string| NO | memo(If memo is required in the address, it must be passed in) |
|amount|string| YES | withdraw amount |
|remark|string| NO | remark |
|timestamp|string| YES | timestamp |
|signature|string| YES | signature |

Can get `network` via endpoints `Get /api/v3/capital/config/getall`'s response params `networkList`.

Response:

| Name | Description |
| :------------ | :-------- |
|id|withdraw ID|


# ETF

## Get ETF info
Expand Down

0 comments on commit f57a6c7

Please sign in to comment.