Am not sure if the question was already asked somewhere, I tried searching but couldn't get it.
This is what I have done so far.
- Created and deployed Token Contract
- Created and deployed CrowdSale Contract
Now, how do I list out the transactions sent by an address (person) to the crowdsale Contract to buy the token. I checked the codes to know the number of tokens bought by the address, but I also want to show the number of ethers he sent at various phases of the crowdsale. I know there is API endpoint to pull out the transactions of an address, but here I want to get the transaction done only with the CrowdSale Contract.
Hope I was able to explain the need. Any help is appreciated.