Etherscan

contract_platform: etherscan

contract_platform_id: 1

contract_chain: mainnet

contract_chain_id: 1

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>"
        }
    }
}

Last updated