🤝Transaction Risk API [Beta]

AuditBase provides a suite of risk analysis APIs to determine the approximate risk level of a particular transaction. This API is currently in beta. If you would like to request access, please fill out this form.

Create a new user

POST /v1/transactions

Description

Retrieves the risk level for a specified transaction, indicating its security status or potential exposure to threats. Common security flags include "financial scam" and "rug pull" transactions.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

tx_hash

string

transaction hash

chain_id

number

ID of the blockchain to get the transaction from

Response

The response includes details about the risk level of the submitted transaction. Further documentation will describe the specific structure and possible values of the response.

{
   "data":{
      "transaction_hash":"0x887022348d570e5d910816eed1acc836f16f073d1f7ee0df4d841b0729f968c1",
      "risk_score":42.842817611,
      "risk_level":"Medium",
      "metadata":{
         "transaction_value":0,
         "gas_price":41.796817611,
         "block_number":19477252,
         "from":{
            "address":"0x52522D35725836D48E12e64731FA170BCd9423bf",
            "risk_score":45,
            "risk_level":"Medium",
            "address_age_in_seconds":1710954500,
            "address_age_readable":"19802 days, 17 hours",
            "tags":[
               "low_transactions"
            ],
            "is_ofac_sanctioned":false,
            "is_smart_contract":false
         },
         "to":{
            "address":"0x0Da9FcC650e2109e09344fd571Bb78091b781F06",
            "risk_score":45,
            "risk_level":"Medium",
            "address_age_in_seconds":1710954501,
            "address_age_readable":"19802 days, 17 hours",
            "tags":[
               "low_transactions"
            ],
            "is_ofac_sanctioned":false,
            "is_smart_contract":true
         }
      },
      "tags":[
         "financial_scam"
      ]
   },
   "success":true
}

Last updated