contract_chain: optimism
contract_chain_id: 14
contract_chain: optimism-goerli
contract_chain_id: 15
contract_chain: optimism-sepolia
contract_chain_id: 16
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_id>/<contract_chain_id>/0x4ee38aa8d7449a177119e983610D73e9ace932dA' \
--header 'Authorization: Token {{token}}'
{
"action": "message",
"payload": {
"type": "<ws_scan_type>",
"body": {
"contract_address": "0xc2498D4fB17A956A847091D088f1D7f6fE745f5B",
"contract_platform": "<contract_platform>",
"contract_chain": "<contract_chain>"
}
}
}