Private ThreatScan WS
The flow for quickscan ws is as follows:
Register the token using auth_token_register event
Using the token, send an event to perform a threatscan
1. WebSocket API Documentation
URL:
api-ws.solidityscan.com
Protocol: wss
Description: This request requires authorization. The bearer token is sent in the
auth_token
request parameter.
Step 1. Auth Token Registration Description: The first step is to register with your auth token to generate an UUID.
{
"action": "message",
"payload": {
"type": "auth_token_register",
"body": {
"auth_token": "{Your_Auth_Token}"
}
}
}
contract_address: The address of the contract to be scanned.
contract_platform: The platform which the contract belongs to.
contract_chain: The chain which the contract belongs to.
{
"action": "message",
"payload": {
"type": "private_threat_scan_initiate",
"body": {
"contract_address": "0xc2498D4fB17A956A847091D088f1D7f6fE745f5B",
"contract_platform": "etherscan",
"contract_chain": "mainnet"
}
}
}
Last updated