Skip to main content

Get Sub Deposit Records (on-chain)

Query subaccount's deposit records by main UID's API key.

tip

endTime - startTime should be less than 30 days. Queries for the last 30 days worth of records by default.

HTTP Request

GET /v5/asset/deposit/query-sub-member-record

Request Parameters

ParameterRequiredTypeComments
subMemberIdtruestringSub UID
coinfalsestringCoin, uppercase only
startTimefalseintegerThe start timestamp (ms)
endTimefalseintegerThe end timestamp (ms)
limitfalseintegerLimit for data size per page. [1, 50]. Default: 50
cursorfalsestringCursor. Use the nextPageCursor token from the response to retrieve the next page of the result set

Response Parameters

ParameterTypeComments
rowsarrayObject
> coinstringCoin
> chainstringChain
> amountstringAmount
> txIDstringTransaction ID
> statusintegerDeposit status
> toAddressstringDeposit target address
> tagstringTag of deposit target address
> depositFeestringDeposit fee
> successAtstringLast updated time
> confirmationsstringNumber of confirmation blocks
> txIndexstringTransaction sequence number
> blockHashstringHash number on the chain
> batchReleaseLimitstringThe deposit limit for this coin in this chain. "-1" means no limit
> depositTypestringThe deposit type. 0: normal deposit, 10: the deposit reaches daily deposit limit, 20: abnormal deposit
nextPageCursorstringRefer to the cursor request parameter

Request Example

GET /v5/asset/deposit/query-sub-member-record?coin=USDT&limit=1&subMemberId=592334 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672192441294
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"rows": [],
"nextPageCursor": ""
},
"retExtInfo": {},
"time": 1672192441742
}