Screen transaction risk
screen_transactionScreen crypto transactions for AML and compliance risk pre-flight or by hash, scoring both sender and recipient with risk bands and flags.
Instructions
Screen a transaction for AML and compliance risk by scoring both sides of the transfer.
Two modes, chosen by which arguments are given:
Pre-flight — pass
fromandto(optionallyamountandasset) to screen a transfer before it is broadcast. Works on every supported chain.By hash — pass only
tx_hashto look up a transaction that is already on-chain. Supported on ethereum, bsc, tron and ton.
Returns the same score, band, flags and itemized signals as an address check, with each signal marked as applying to the sending or receiving side. Use it as a pre-send safety gate, or to review a payment that already went out. Each call consumes one check from the configured traql account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient address, for screening a transfer that has not been broadcast yet. | |
| from | No | Sender address, for screening a transfer that has not been broadcast yet. | |
| asset | No | Optional asset or token symbol being transferred, for example USDT. | |
| chain | Yes | Blockchain network the subject belongs to. | |
| amount | No | Optional transfer amount as an integer string in the asset's base units (for example 1000000 for 1 USDT, which has 6 decimals). Never a decimal fraction. | |
| tx_hash | No | Hash of an already-broadcast transaction. Mutually exclusive with `from`/`to`. Supported on ethereum, bsc, tron and ton only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| subject | Yes | Echo of the canonical subject that was scored. |