colonelj / tronscan-transfers-downloader Goto Github PK
View Code? Open in Web Editor NEWNode.js script to download all TRX, TRC10 and TRC20 transfers to/from an account to a CSV file, using Tronscan APIs
License: The Unlicense
Node.js script to download all TRX, TRC10 and TRC20 transfers to/from an account to a CSV file, using Tronscan APIs
License: The Unlicense
Hi,
Using v1.17.3, when creating a test CSV file, the following error appears at execution.
`Writing to file test.csv...
(node:5313) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'open' of undefined
at main (ANN/index.js:150:36)
at Object. (ANN/index.js:201:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
(node:5313) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:5313) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`
I know it's a while since you've made any commits but I tried this out and only got error messages.
Just figured I'd let you know!
Writing to file output.csv...
Downloading details of TRC20 tokens...
Error in query total (got 10000, expected 24275), trying again...
Total number of TRC20s has changed, starting again
Error in query total (got 10000, expected 24275), trying again...
Error in query total (got 10000, expected 24275), trying again...
Error in query total (got 10000, expected 24275), trying again...
Error in query total (got 10000, expected 24275), trying again...
Error in query total (got 10000, expected 24275), trying again...
Error in query total (got 10000, expected 24275), trying again...
Total number of TRC20s has changed, starting again
Error in query total (got 10000, expected 24276), trying again...
Total number of TRC20s has changed, starting again
Error in query total (got 10000, expected 24275), trying again...
Total number of TRC20s has changed, starting again
Error in query total (got 10000, expected 24276), trying again...
Total number of TRC20s has changed, starting again
Error in query total (got 10000, expected 24276), trying again...
Error in query total (got 10000, expected 24276), trying again...
Error in query total (got 10000, expected 24276), trying again...
Error in query total (got 10000, expected 24276), trying again...
Error in query total (got 10000, expected 24276), trying again...
If I find time I might be able to submit a PR myself!
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.