CheckRiskResponse: {
    address: string;
    riskScore: number;
    connections: Record<string, number>;
}

Represents a data model that PureFI.checkRisk method returns

Example:

  const response: = {
address: "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
riskScore: 37,
connections: {
atm: 0,
darkMarket: 0,
darkService: 0,
exchangeFraudulent: 0,
gambling: 0,
illegalService: 0,
marketplace: 0,
miner: 0,
mixer: 0,
payment: 48,
ransom: 0,
scam: 0,
stolenCoins: 0,
wallet: 0,
childExploitation: 0,
sanctions: 0,
seizedAssets: 0,
terrorismFinancing: 0,
liquidityPools: 0,
other: 0,
enforcementAction: 0,
exchangeLicensed: 1,
exchangeUnlicensed: 50,
p2pExchangeLicensed: 2,
p2pExchangeUnlicensed: 0,
},
};

Type declaration

  • address: string

    The address that was screened

    This property could be useful if you checked risks of a list of addresses

  • riskScore: number

    AML risk value in % that represents how risky this address is from PureFI perspective

    Possible values lay in range [0..100]

    0 indicates the lowest risks, 100 - the highest

  • connections: Record<string, number>

    This field holds a key-value pairs

    Where key is a name of connection

    And value indicates which part of total riskScore this connection represents in %

    Could be an empty object {} if no connections found