Configuration in v.2.7

AML Module Setup

Make sure the module is activated in the "Modules" section, or activate it if it isn't.

Add one of the four supported services in the "AML" -> "Add" section.

In the new window, fill in the authorization details in the "Module Settings" section:

Connecting to the Service

Register on the AMLBot service, log into your personal account, and generate an ID and key for module authorization.

Enter these keys in the corresponding fields in the module settings and save the data.

General Settings

Risk if API is not working — the desired risk value (from 0 to 100) that will be assigned to the check result if no response is received from the service API. The value must be higher than the value set in the "Critical risk level for address/hash" fields.

Critical risk level for address/hashmandatory to specify a value (from 0 to 100), above which the module will report a risk for requests in the "Requests" section (before configuring this section, we recommend consulting with the manager of the chosen AML service regarding risk level settings).

Waiting time for check result (sec, max 25-30 sec) — the time to wait for a response from the service after sending data for verification (it is recommended to set a value between 15 and 28).

Script timeout (sec) — the time during which the site waits for a response from the AML service. If no response is received within the specified time, the site will continue its operation without an answer. If the time is not set or is equal to 0, the standard timeout of 20 seconds applies. There is no universal timeout value, as it depends on the speed of the specific service.

Disable logs — turning off logs for checks (not recommended).

Check categories — setting risk levels for various categories. Consult with the service you are connecting to for assistance with fine-tuning categories (note that each module has its own set of categories for configuration).

Manual Checks

The AML module allows for manual checks of addresses, hashes, and transactions. To perform a check, go to the settings of the configured service, enter the data for verification, and click the "Check" button.

TxID is a unique transaction identifier generated before the transaction is included in the blockchain. It is usually a hash of the transaction data (e.g., inputs, outputs, signatures) but is created before the transaction is included in a block.

  • What is it used for? TxID allows for quick identification of a transaction in the blockchain. It's like an "order number" in a system.

  • Example: When you send cryptocurrency, the TxID is what you see immediately after creating the transaction. It helps track the status of the transaction until it is confirmed.

A transaction hash is a unique identifier that is generated after the transaction is included in a block. It is calculated based on the transaction data and additional information (e.g., block number, time, and other parameters).

  • What is it used for? The transaction hash is used to verify the integrity of data in the blockchain. It ensures that the transaction has not been altered after being included in a block.

  • Example: The transaction hash can be compared to a "fingerprint" of the transaction after it is confirmed. It is unique and depends on all the data associated with the transaction in the block.

Analogy

Imagine you are sending a letter:

  • TxID — this is the tracking number you receive immediately after handing the letter to the post office. It helps track the letter until it is delivered.

  • Transaction hash — this is the unique stamp on the envelope that is placed after the letter is delivered and registered. It confirms that the letter was indeed delivered and has not been altered.

Thus, TxID and transaction hash are two stages of transaction identification: before and after it is included in the blockchain.

Address Check — check a wallet address. Enter the address and select the desired currency.

Transaction Check — check a transaction. Enter the wallet address of the recipient, select the desired currency, enter the TxID, and choose the type of transaction (deposit or withdrawal).

UID Check — check the unique identifier from the response to the transaction check request.

The results of the checks will be displayed at the top of the page:

Logging

In the "AML" -> "Logs" section, you will find the results of the checks as well as any errors encountered while using the services.

Module Configuration for Exchange Direction

You can use the module to check addresses and hashes without interfering with the request, or to block the creation of requests or prevent payouts.

Open the settings for the exchange direction where you want to implement the checks and navigate to the "AML" tab. Select the previously configured AML service and adjust the specified options.

Checking the accounts for "Sending" and "Receiving":

  • No — No checks will be performed.

  • Yes, during request creation — Checks will be conducted to prevent the creation of a request if the specified risk level is exceeded.

  • Yes, during payment — The account check will be performed when receiving a payment made by the client (only if the exchange direction has the merchant module for receiving funds enabled).

  • Yes, during auto-payout — The account check will be performed before funds are paid out to the client (only if the exchange direction has the auto-payout module enabled).

  • Risk Exceeded:Nothing — Checks will be performed for informational purposes only. • Error — If the risk level specified in the module settings is exceeded, the client will see an error when creating a request or attempting an auto-payout (depending on the settings).

  • Exchange Amount "from" — Specify the amount from the request, above which the address or transaction check will be performed. If the amount in the request is below this specified value, the check will not be conducted.

TxID Check:

  • No — The TxID check for incoming payments will not be performed.

  • Yes, during payment — The TxID check for incoming payments will be conducted when receiving a payment made by the client (only if the exchange direction has the merchant module for receiving funds enabled).

  • Yes, during auto-payout — The TxID check for incoming payments will be performed before funds are paid out to the client (only if the exchange direction has the auto-payout module enabled).

  • Exchange Amount "from" — Specify the amount from the request, above which the hash check will be performed. If the amount is below this specified value, the check will not be conducted (the amount value is specified in the currency for the "Sending" side).

Last updated