Returns the status code of a transaction execution.
https://api-amoy.polygonscan.com/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0x2547c617f6507d622aa901bcc70e36d59a5b8232dbb24a20ad3d74e6bb884cd3
&apikey=YourApiKeyToken
Try this endpoint in your