binance fetchDeposits for BTC is empty
See original GitHub issueAm I doing something wrong or is there a bug, when I call fetchDeposits and i pass ‘BTC’ as the currency, I get an empty array, no error. I’m passing a “since” like that, and my deposit is late 2020 (i tried passing a limit of 20 as well):
I get EUR deposits fine. What I want to achieve is to see the transfer of BTC from a wallet/coinbase into Binance.
- OS: Windows 10, latest updates
- Programming Language version: TypeScript 4.3.5 with NestJS 8
- CCXT version: 1.68.84 latest
let since = this.binanceClient.parse8601('2019-01-01T00:00:00Z');
const deposits: void | Transaction[] = await client.fetchTransactions('BTC', since).catch(e => {
console.log("API ERROR: " + e);
});
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Why Hasn't My Deposit Been Credited
An asset withdrawal marked as “completed” or “success” in the platform you're withdrawing your crypto from means that the transaction was ...
Read more >How to Retrieve the Deposit that Hasn't Arrived with Self- ...
If your deposited funds haven't arrived in your Binance account, you can apply for self-service recovery to retrieve the funds.
Read more >Why Hasn't My Withdrawal Arrived
Alice decides to withdraw 2 BTC from Binance to her personal wallet. After she confirms the request, she needs to wait until Binance...
Read more >How to buy Empty Set Dollar (ESD) Guide
1. There are several crypto wallets to choose from within the Ethereum network and Metamask appears to be the most integrated. If you...
Read more >Frequently Asked Questions on Unsuccessful Withdrawals
For example, here is a Bitcoin address: ... If you get a "network busy" message, this means that the network is currently congested....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, you should paginate over your deposits: https://docs.ccxt.com/en/latest/manual.html#pagination
However, most of the exchanges will not let you query history far in the past, they will limit your history to the most recent N months, binance limits that to 3 months afaik. Hope that answers your question, let us know if not.
Btw to conclude the topic, is it possible to extend that window? Thru the Binance website I can see larger periods together, but maybe they also do that: Should I basically loop the deposits into 30 day windows to get more deposits?