Query transfer records
Description: Transaction bridge queries transfer records
group=tradeApi
version=0.0.1
bizType=tradeapi.admin.AccountAdminService.queryTransferList
Binance Special Restrictions
- type is required, the enumeration is as follows
MAIN_UMFUTURE: Spot wallet switches to U-standard contract wallet
MAIN_CMFUTURE: Spot wallet switches to coin-based futures wallet
MAIN_MARGIN: Spot wallet switches to leveraged full margin wallet
UMFUTURE_MAIN: U-standard contract wallet switches to spot wallet
UMFUTURE_MARGIN: U-standard contract wallet turns to leveraged full margin wallet
CMFUTURE_MAIN: Coin-based contract wallet switches to spot wallet
MARGIN_MAIN: Switched from leveraged cross margin wallet to spot wallet
MARGIN_UMFUTURE: Margin cross margin wallet switches to U-standard contract wallet
MARGIN_CMFUTURE: Margin cross margin wallet switches to coin-standardized futures wallet
CMFUTURE_MARGIN: Coin-based futures wallet switches to leveraged full margin wallet
ISOLATEDMARGIN_MARGIN: From leveraged isolated margin wallet to leveraged full margin wallet
MARGIN_ISOLATEDMARGIN: Switch from leveraged full margin wallet to leveraged isolated margin wallet
ISOLATEDMARGIN_ISOLATEDMARGIN: Switch from Margin Isolated Margin Wallet to Margin Isolated Margin Wallet
MAIN_FUNDING: Switch from spot wallet to fund wallet
FUNDING_MAIN: Fund wallet switches to spot wallet
FUNDING_UMFUTURE: Fund wallet switches to U-based contract wallet
UMFUTURE_FUNDING: U-based contract wallet turns to fund wallet
MARGIN_FUNDING: Switch from leveraged full margin wallet to fund wallet
FUNDING_MARGIN: Fund wallet switches to leveraged full margin wallet
FUNDING_CMFUTURE: Fund wallet switches to coin-based contract wallet
CMFUTURE_FUNDING: Coin-based contract wallet turns to fund wallet
MAIN_OPTION: Switch from spot wallet to options wallet
OPTION_MAIN: Switch option wallet to spot wallet
UMFUTURE_OPTION: U-standard contract wallet switched to options wallet
OPTION_UMFUTURE: Options wallet switches to U-standard contract wallet
MARGIN_OPTION: Switch from leveraged cross-margin wallet to options wallet
OPTION_MARGIN: Options cross-margin wallet switches to leverage wallet
FUNDING_OPTION: Fund wallet switches to options wallet
OPTION_FUNDING: Options wallet switches to fund wallet
MAIN_PORTFOLIO_MARGIN: Spot wallet switches to unified account wallet
PORTFOLIO_MARGIN_MAIN: Unified account wallet switched to spot wallet
MAIN_ISOLATED_MARGIN: Switch from spot wallet to isolated margin account wallet
ISOLATED_MARGIN_MAIN: Switch from isolated margin wallet to spot account wallet
- fromSymbol must be sent when the type is ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
- toSymbol must be sent when the type is MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
- Only supports querying data for the last six months (6 months)
- If startTime and endTime are not transmitted, the data of the last 7 days will be returned by default.
OUYI special restrictions
- type is optional, the enumeration is as follows
11: Transfer in
12: Transfer out
118: System currency transfer
119: System currency exchange and transfer out
118: Forced liquidation and currency transfer
119: Forced currency exchange and transfer out
200: System transfer
202: System transfer out
201: Manual transfer
203: Manual transfer out
224: Debt repayment transferred in
225: Debt repayment and transfer out
236: Transfer to the user account for exchanging mainstream currency
237: Exchange mainstream currency user account transfer out
284: Automatic transfer of orders
286: Automatically transfer orders out
285: Manual transfer of orders
287: Manual transfer out of the order
297: Structured order transfer
296: Structured order transfer out
299: Structured settlement transfer
298: Structured settlement transfer out
Header parameters
companyIdstringOptionalExample:
{{company}}
tracestringOptionalExample:
{{mock_trace}}
apiKeystringOptionalExample:
{{apikey}}
recvWindowstringOptionalExample:
5000
signaturestringOptionalExample:
{{sign}}
langstringOptionalExample:
zh-CN
versionstringOptionalExample:
0.0.1
groupstringOptionalExample:
tradeApi
Body
tradeTypeinteger · longRequired
Game type. 10-Transaction Bridge;
exchangeIdstringRequired
Platform identifier. binance-Binance; okx-OUYi
accountNamestringRequired
Platform account alias
customerIdinteger · longOptional
CustomerId
customerNostringRequired
Customer code
customerGroupIdinteger · longRequired
Customer group ID
typestringOptional
Transfer type
fromSymbolstringOptional
Filter outgoing products
toSymbolstringOptional
Filter entry products
startTimestringOptional
Start timestamp of filtering, 13-digit timestamp
endTimestringOptional
End timestamp of filtering, 13-digit timestamp
limitstringOptional
The number of results returned, default 20, maximum 100. If it is less than 1 or greater than 100, only 20 items will be returned.
Responses
200Success
application/json
post
POST /global/tradeapi.admin.AccountAdminService.queryTransferList HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 214
{
"tradeType": 1,
"exchangeId": "text",
"accountName": "text",
"customerId": 1,
"customerNo": "text",
"customerGroupId": 1,
"type": "text",
"fromSymbol": "text",
"toSymbol": "text",
"startTime": "text",
"endTime": "text",
"limit": "text"
}
200Success
{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"exchangeId": "text",
"id": "text",
"type": "text",
"currency": "text",
"amount": "text",
"status": "text",
"createTime": "text"
}
]
}
Last updated