contract_chain: mainnet
contract_chain_id: 1
contract_chain: testnet
contract_chain_id: 2
Use either contract platform or ID, and contract chain or ID for the HTTP API.
curl --location --request GET 'https://api.solidityscan.com/api/v1/<scan_type>/<contract_platform>/<contract_chain>/0x4ee38aa8d7449a177119e983610D73e9ace932dA' \
--header 'Authorization: Token {{token}}'
{
"action": "message",
"payload": {
"type": "<ws_scan_type>",
"body": {
"contract_address": "0xc2498D4fB17A956A847091D088f1D7f6fE745f5B",
"contract_platform": "<contract_platform>",
"contract_chain": "<contract_chain>"
}
}
}