I want get transactions of a account and get the details of it(such as time and etc.) in solidity. How can i do this? Is there any way?


There's no way to access past transactions in Solidity. If you're only interested in the users interactions with that contract, then you can keep track of a users transactions in a map/array.

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.