I am interested in getting the transaction history for an ERC-1155 token by specifying the contract address and the tokenID. For example, saving all of the transactions from this token:
I have tried using the Polygon Scan API with a call like this:
curl -X 'GET' "https://api.polygonscan.com/api?module=account&action=token1155tx&contractaddress=0x4d97dcd97ec945f40cf65f87097ace5ea0476045&address=60409519652189793219981471355062948936772693999500608409437288239043585098237&page=1&offset=100&startblock=0&endblock=99999999&sort=asc&apikey=<MY API KEY>" But, it seems the address parameter is not the right one to specify. How can I accomplish my goal? I'm open to using other API/methods if going through api.polygonscan.com is not possible. Thank you!