Get Wallet Fund Records
Get wallet fund records. This endpoint also shows exchanges from the Asset Exchange, where the types for the exchange are ExchangeOrderWithdraw
and ExchangeOrderDeposit
.
tip
- This endpoint returns incomplete information for transfers involving the derivatives wallet. Use the account asset API for creating and querying internal transfers.
- Find more detail for types Withdraw and Refund in the Withdraw Records endpoint.
- Deposit or withdrawal records which occurred after 2021-07-15 will not be shown by this endpoint. To fetch records after this date you should call the Query Deposit Recordsand Query Withdraw Records endpoint. This is due to the introduction of the spot wallet at this time.
HTTP Request
GET /contract/v3/private/account/wallet/fund-records
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | Coin |
walletFundType | false | string | Fund type |
startTime | false | integer | Start timestamp (ms) |
endTime | false | integer | End timestamp (ms) |
limit | false | integer | Limit for data size per page. [1 , 50 ]. Default: 20 |
cursor | false | string | Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set |
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | array | Object |
> coin | string | Coin |
> type | string | Type |
> amount | string | Amount |
> walletBalance | string | Wallet balance |
> execTime | string | Executed timestamp (ms) |
nextPageCursor | string | Cursor. Used to pagination |
Request Example
GET /contract/v3/private/account/wallet/fund-records?limit=1 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1670931970500
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"list": [
{
"coin": "BTC",
"type": "RealisedPNL",
"amount": "-0.00003034",
"walletBalance": "0.68146653",
"execTime": "1665792000030"
}
],
"nextPageCursor": "K2tqR0xUQ1B1Tyt1a0ZFeVZRa1I2R2ZOT2pVekNKeGZPOTEyWFNpeXd1ejRmRTFoUkhabnVKVlRBNnFtZGk0dlBhRThLdFNHTGxFdWJGQVFMdXBnZ29Bb3JmSDlkczZHV1p1V1JoZmc2dnlRc1VMZ1ZVYlRXeW51ZUVBT3QycjlYSml3alNZampKTHdrdDJzSzFWdnlWK0djRklqczB1M0JYN04wVXltV0ljPQ=="
},
"retExtInfo": {},
"time": 1670931971341
}