0

If I have an account that has sent and received specific tokens, say ExampleToken (EXT), can I use web3js to see a list of EXT transfers and receipts for my address (or any other address)?

I am looking through the documentation but cannot find anything about token transaction history.

Thanks for any help.

1

There is currently no way to list the transactions using either the OLD Web3.js 0.2x.x or the NEW Web3.js 1.0. AFAIK, most everyone is using Etherscan's 3rd-party API.

Example taken from their docs:

http://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&startblock=0&endblock=99999999&sort=asc&apikey=YourApiKeyToken

The only alternative I know of today is to build your own custom node and record the transactions to a "standard" datastore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.