Use cases

  1. Use cases
  2. Move project from polygonscan

Move project from polygonscan

Move project from polygonScan to us

In some cases, you already have existing integrations with polygonScan API. СryptoMation offers you an easy way to migrate to our facilities, we support full response compatibility.

👉 We support: etherium, polygon, near, binance smart chain, tron and others networks.

🔧 If you start new project, we strongly recommended use our Universal API! Universal API more usefully and support standard code errors.

How get transaction list like polygonscan

⚠️ You could find data schema and description api on our docs: PolygonScan Compatibility API.

Root link: https://api.cryptomation.com/scan/polygon

Example request for getting transactions:

curl https://api.cryptomation.com/scan/polygon?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
copy

Response:

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "24741197",
      "timeStamp": "1644422471",
      "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
      "nonce": "0",
      "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
      "transactionIndex": "46",
      "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
      "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
      "value": "1000000000000000000",
      "gas": "21000",
      "gasPrice": "29214713675",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x",
      "contractAddress": "",
      "cumulativeGasUsed": "5892989",
      "gasUsed": "21000",
      "confirmations": "5311365"
    }
  ]
}
copy

How get transaction list like polygonScan

⚠️ You could find data schema and description api on our docs: PolygonScan Compatibility API.

Root link: https://api.cryptomation.com/scan/polygon

Example request for getting transactions:

curl https://api.cryptomation.com/scan/polygon?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
copy

Response:

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "24741197",
      "timeStamp": "1644422471",
      "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
      "nonce": "0",
      "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
      "transactionIndex": "46",
      "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
      "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
      "value": "1000000000000000000",
      "gas": "21000",
      "gasPrice": "29214713675",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x",
      "contractAddress": "",
      "cumulativeGasUsed": "5892989",
      "gasUsed": "21000",
      "confirmations": "5311365"
    }
  ]
}
copy

More info?

Much more info about our API method you could found on our docs!


Ready to get started?

Our api help your project gain easy access to a sea of crypto data.

If you want to try our Universal API, please enter your email or login from Google Gmail:

Continue with