BlockaidScanURLRawResponse

data class BlockaidScanURLRawResponse(val status: String, val url: String?, val scanStartTime: String?, val scanEndTime: String?, val maliciousScore: Int?, val isReachable: Boolean?, val isWeb3Site: Boolean?, val isMalicious: Boolean?, val attackTypes: Map<String, BlockaidAttackEntry>?, val networkOperations: List<String>?, val jsonRpcOperations: List<String>?, val contractWrite: BlockaidContractOperations?, val contractRead: BlockaidContractOperations?, val modals: List<String>?)

Raw response from Blockaid URL scan.

Parameters

status

Scan status: "hit" (found in database) or "miss" (not found)

url

The scanned URL

scanStartTime

When the scan started

scanEndTime

When the scan ended

maliciousScore

Maliciousness score (0-100)

isReachable

Whether the URL is reachable

isWeb3Site

Whether this is a Web3/blockchain site

isMalicious

Whether the URL is determined to be malicious

attackTypes

Map of attack type to details

networkOperations

List of network operations performed

jsonRpcOperations

List of JSON-RPC operations performed

contractWrite

Contract write operations

contractRead

Contract read operations

modals

List of modal types shown

Constructors

Link copied to clipboard
constructor(status: String, url: String?, scanStartTime: String?, scanEndTime: String?, maliciousScore: Int?, isReachable: Boolean?, isWeb3Site: Boolean?, isMalicious: Boolean?, attackTypes: Map<String, BlockaidAttackEntry>?, networkOperations: List<String>?, jsonRpcOperations: List<String>?, contractWrite: BlockaidContractOperations?, contractRead: BlockaidContractOperations?, modals: List<String>?)

Properties

Link copied to clipboard
@SerializedName(value = "attack_types")
val attackTypes: Map<String, BlockaidAttackEntry>?
Link copied to clipboard
@SerializedName(value = "contract_read")
val contractRead: BlockaidContractOperations?
Link copied to clipboard
@SerializedName(value = "contract_write")
val contractWrite: BlockaidContractOperations?
Link copied to clipboard
@SerializedName(value = "is_malicious")
val isMalicious: Boolean?
Link copied to clipboard
@SerializedName(value = "is_reachable")
val isReachable: Boolean?
Link copied to clipboard
@SerializedName(value = "is_web3_site")
val isWeb3Site: Boolean?
Link copied to clipboard
@SerializedName(value = "json_rpc_operations")
val jsonRpcOperations: List<String>?
Link copied to clipboard
@SerializedName(value = "malicious_score")
val maliciousScore: Int?
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "network_operations")
val networkOperations: List<String>?
Link copied to clipboard
@SerializedName(value = "scan_end_time")
val scanEndTime: String?
Link copied to clipboard
@SerializedName(value = "scan_start_time")
val scanStartTime: String?
Link copied to clipboard
Link copied to clipboard
val url: String?