AML

To keep Nest secure and globally compliant, Nest has implemented a sub-second and seamless AML (Anti-Money Laundering) check that happens before users deposit into any Nest vault.

What You Need to Know

  • AML checks are required to deposit into Nest vaults and are powered by TRM Labs.

  • AML checks run on both the app and smart contracts (to ensure they can't be bypassed).

  • Policies are disclosed to asset issuers and protocols whose assets are available through Nest vaults.

Wallet restricted notification

How It Works

Nest uses TRM, a leading blockchain intelligence provider, to run AML checks. Nest's legal team defines the rules, and Predicate helps us apply them securely and efficiently under the hood — so you don’t have to worry about a thing. In order to asses compliance for a user, you can plug in the address of the user and check the compliance information.

get

Checks compliance for a user and retrieves predicate message if compliant

Path parameters
addressstringRequired

User address

Example: 0x1234567890123456789012345678901234567890Pattern: ^0x[a-fA-F0-9]{40}$
Query parameters
chainIdnumberOptional

Optional. Chain ID

Default: 1Example: 1
isDepositAndBridgestringOptional

Optional. Indicates if the compliance check is for deposit and bridge interaction. Defaults to false.

Default: falseExample: false
isZapperstringOptional

Optional. Indicates if bridge uses zapper (usdt -> usdc swap). Defaults to false.

Default: falseExample: false
Responses
200

Compliance

application/json
get
/user/{address}/compliance
GET /v1/user/{address}/compliance HTTP/1.1
Host: api.nest.credit
Accept: */*
{
  "data": {
    "isCompliant": true,
    "predicateMessage": {
      "taskId": "text",
      "expireByBlockNumber": 1,
      "signerAddresses": [
        "text"
      ],
      "signatures": [
        "text"
      ]
    }
  }
}

Need Help

If you have any questions or believe there’s an error, we’re here to help. Reach out in our Discord community and the team will get back to you promptly. You can also navigate to theDeveloperssection for more API details.

Last updated