Crypto AML Service
Run crypto wallet and transaction AML checks and read their results.
Start a wallet or transaction check
Starts an AML check of a wallet (`address`) or of a transaction (`txHash`). Pass exactly one of the two together with the `blockchain`.
Get a check result
Returns the result of a check started with `POST /api/public/crypto-aml/search`. The result is ready when `state` is `FINISHED`; if `state` is `FAILED`, the reason is in `errReason`. The `type` query parameter is required and must match the check: `WALLET` for `address`, `TRANSACTION` for `txHash`.
Request a PDF report
Starts the generation of a PDF report for a finished check. Generate a `requestId` (UUID) on your side and pass it in the body: it identifies the report.
List PDF reports of a check
Returns the PDF reports that were requested for the check, page by page. `total` is the number of reports of the check.
Get a PDF report
Returns the status of a PDF report. When `status` is `GENERATED`, the `path` field is set: download the file with `GET /api/public/file/{path}`. When `status` is `FAILED`, the reason is in `error`.