0

Im trying to get all transaction data from a contract on Polygon. I know I need to use the API from Polygon,but i don't know the correct syntax to call.

Thnx in Advance! Mark

1 Answer 1

0

Try this:

https://api-testnet.polygonscan.com/api?module=account&action=txlist&address=%CONTRACT%&startblock=0&endblock=99999999&sort=asc&apikey=%APIKEY%

For further documentation check the API of Polygon. They have a nice documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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