API Reference
Browse and test TrustIn AML API endpoints
POST
/api/v2/investigate/submit_taskSubmit Task
Submit an address investigation task. Traces inflow/outflow fund paths and returns a task_id for polling status and results.
Request Parameters
chain_namerequiredBlockchain network
addressrequiredWallet address to investigate
inflow_hopsInflow tracing depth (0–5)
outflow_hopsOutflow tracing depth (0–5)
min_timestampStart time filter (Unix ms). Default: no limit
max_timestampEnd time filter (Unix ms). Default: current time
min_amountMinimum transfer amount to consider
max_nodes_per_hopMax nodes expanded per hop
white_list_tagsComma-separated tag names to exclude from risk analysis
is_penetrate_contractTrace through contract addresses
Request Body
{
"chain_name": "",
"address": "",
"inflow_hops": 0,
"outflow_hops": 0,
"min_timestamp": 0,
"max_timestamp": 0,
"min_amount": 0,
"max_nodes_per_hop": 0,
"white_list_tags": "",
"is_penetrate_contract": false
}Example Response
Response
{
"code": 0,
"msg": "success",
"data": {
"task_id": 12345
}
}