# Polygonscan

contract\_platform: `polygonscan`

contract\_platform\_id: `3`

{% tabs %}
{% tab title="Polygon Mainnet" %}
contract\_chain: `mainnet`

contract\_chain\_id: `1`
{% endtab %}

{% tab title="Mumbai Testnet" %}
contract\_chain: `testnet`

contract\_chain\_id: `2`
{% endtab %}

{% tab title="Amoy Testnet" %}
contract\_chain: `amoy-testnet`

contract\_chain\_id: `10`
{% endtab %}

{% tab title="Cardona Testnet" %}
contract\_chain: `cardona-testnet`

contract\_chain\_id: `11`
{% endtab %}
{% endtabs %}

> Use either contract platform or ID, and contract chain or ID for the HTTP API.

Http API Example:

```
curl --location --request GET 'https://api.solidityscan.com/api/v1/<scan_type>/<contract_platform_id>/<contract_chain_id>/0x4ee38aa8d7449a177119e983610D73e9ace932dA' \
--header 'Authorization: Token {{token}}'
```

Websocket Message Example:

```
{
    "action": "message",
    "payload": {
        "type": "<ws_scan_type>",
        "body": {
            "contract_address": "0xc2498D4fB17A956A847091D088f1D7f6fE745f5B",
            "contract_platform": "<contract_platform>",
            "contract_chain": "<contract_chain>"
        }
    }
}
```
