Last updated 5 months ago
contract_platform: cronos
cronos
contract_platform_id: 6
6
contract_chain: mainnet
mainnet
contract_chain_id: 1
1
contract_chain: testnet
testnet
contract_chain_id: 2
2
Use either contract platform or ID, and contract chain or ID for the HTTP API.
Http API Example:
Websocket Message Example:
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>" } } }