BlockaidTokenResult

data class BlockaidTokenResult(val resultType: String, val maliciousScore: String?, val attackTypes: Map<String, BlockaidAttackType>?, val chain: String, val address: String, val metadata: BlockaidTokenMetadataResult?, val fees: BlockaidTokenFees?, val features: List<BlockaidTokenFeature>?, val tradingLimits: BlockaidTradingLimits?, val financialStats: BlockaidFinancialStats?)

Result for a single token scan.

Parameters

resultType

Result type: "Benign", "Warning", "Malicious", "Spam"

maliciousScore

Score indicating maliciousness (0-1)

attackTypes

Map of attack type to details

chain

Chain identifier

address

Token address

metadata

Token metadata

fees

Token fees information

features

List of detected features

tradingLimits

Trading limits for the token

financialStats

Financial statistics

Constructors

Link copied to clipboard
constructor(resultType: String, maliciousScore: String?, attackTypes: Map<String, BlockaidAttackType>?, chain: String, address: String, metadata: BlockaidTokenMetadataResult?, fees: BlockaidTokenFees?, features: List<BlockaidTokenFeature>?, tradingLimits: BlockaidTradingLimits?, financialStats: BlockaidFinancialStats?)

Properties

Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "attack_types")
val attackTypes: Map<String, BlockaidAttackType>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "financial_stats")
val financialStats: BlockaidFinancialStats?
Link copied to clipboard
@SerializedName(value = "malicious_score")
val maliciousScore: String?
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "result_type")
val resultType: String
Link copied to clipboard
@SerializedName(value = "trading_limits")
val tradingLimits: BlockaidTradingLimits?