Skip to content

Commit 57f782f

Browse files
authored
v1.20.0 release (#52)
1 parent cf8056f commit 57f782f

File tree

2 files changed

+136
-0
lines changed

2 files changed

+136
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.20.0 - 2023-11-23
4+
### Added
5+
- `GET /sapi/v1/capital/deposit/address/list`
6+
- `GET /sapi/v1/margin/leverageBracket`
7+
38
## 1.19.0 - 2023-11-15
49
### Added
510
- `GET /sapi/v1/loan/vip/request/interestRate`

spot_api.yaml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6061,6 +6061,75 @@ paths:
60616061
application/json:
60626062
schema:
60636063
$ref: '#/components/schemas/error'
6064+
/sapi/v1/margin/leverageBracket:
6065+
get:
6066+
summary: Query Liability Coin Leverage Bracket in Cross Margin Pro Mode (MARKET_DATA)
6067+
description: |-
6068+
Liability Coin Leverage Bracket in Cross Margin Pro Mode
6069+
6070+
Weight(IP): 1
6071+
tags:
6072+
- Margin
6073+
security:
6074+
- ApiKeyAuth: []
6075+
responses:
6076+
'200':
6077+
description: Leverage info
6078+
content:
6079+
application/json:
6080+
schema:
6081+
type: array
6082+
items:
6083+
type: object
6084+
properties:
6085+
assetNames:
6086+
type: array
6087+
items:
6088+
type: string
6089+
example: "BTC"
6090+
rank:
6091+
type: integer
6092+
example: 1
6093+
brackets:
6094+
type: array
6095+
items:
6096+
type: object
6097+
properties:
6098+
leverage:
6099+
type: integer
6100+
example: 10
6101+
maxDebt:
6102+
type: number
6103+
format: double
6104+
example: 1000000.00000000
6105+
maintenanceMarginRate:
6106+
type: number
6107+
format: double
6108+
example: 0.02000000
6109+
initialMarginRate:
6110+
type: number
6111+
format: double
6112+
example: 0.1112
6113+
fastNum:
6114+
type: number
6115+
format: double
6116+
example: 60000.000
6117+
required:
6118+
- leverage
6119+
- maxDebt
6120+
- maintenanceMarginRate
6121+
- initialMarginRate
6122+
- fastNum
6123+
required:
6124+
- assetNames
6125+
- rank
6126+
- brackets
6127+
'400':
6128+
description: Bad Request
6129+
content:
6130+
application/json:
6131+
schema:
6132+
$ref: '#/components/schemas/error'
60646133
/sapi/v1/system/status:
60656134
get:
60666135
summary: System Status (System)
@@ -9015,6 +9084,68 @@ paths:
90159084
application/json:
90169085
schema:
90179086
$ref: '#/components/schemas/error'
9087+
/sapi/v1/capital/deposit/address/list:
9088+
get:
9089+
summary: Fetch deposit address list with network (USER_DATA)
9090+
description: |-
9091+
Fetch deposit address list with network.
9092+
9093+
Weight(IP): 10
9094+
tags:
9095+
- Wallet
9096+
parameters:
9097+
- name: coin
9098+
in: query
9099+
required: true
9100+
schema:
9101+
type: string
9102+
example: "BTC"
9103+
- name: network
9104+
in: query
9105+
schema:
9106+
type: string
9107+
example: "BTC"
9108+
- $ref: '#/components/parameters/recvWindow'
9109+
- $ref: '#/components/parameters/timestamp'
9110+
- $ref: '#/components/parameters/signature'
9111+
security:
9112+
- ApiKeyAuth: []
9113+
responses:
9114+
'200':
9115+
description: Coin address
9116+
content:
9117+
application/json:
9118+
schema:
9119+
type: array
9120+
items:
9121+
type: object
9122+
properties:
9123+
coin:
9124+
type: string
9125+
example: "ETH"
9126+
address:
9127+
type: string
9128+
example: "0xD316E95Fd9E8E237Cb11f8200Babbc5D8D177BA4"
9129+
isDefault:
9130+
type: integer
9131+
format: int32
9132+
example: 1
9133+
required:
9134+
- coin
9135+
- address
9136+
- isDefault
9137+
'400':
9138+
description: Bad Request
9139+
content:
9140+
application/json:
9141+
schema:
9142+
$ref: '#/components/schemas/error'
9143+
'401':
9144+
description: Unauthorized Request
9145+
content:
9146+
application/json:
9147+
schema:
9148+
$ref: '#/components/schemas/error'
90189149
/sapi/v1/sub-account/status:
90199150
get:
90209151
summary: Sub-account's Status on Margin/Futures (For Master Account)

0 commit comments

Comments
 (0)