navs-aml
Version:
Anti-Money Laundering (AML) services powered by NAVS - Node-Assisted Verification Service
38 lines • 1.61 kB
TypeScript
/**
* NAVS AML (Anti-Money Laundering) Services
*
* This package provides AML compliance functions powered by NAVS (Node-Assisted Verification Service).
* Functions are executed by a decentralized network of operators with economic stake backing the results.
*/
import { navs as setup } from 'navskit';
export declare const navsClient: ReturnType<typeof setup>;
/**
* AML Compliance Services
*
* This class provides Anti-Money Laundering (AML) compliance functions
* that are executed by a decentralized network with cryptoeconomic security.
*/
export declare class AMLServices {
/**
* Check if an Ethereum address appears on the OFAC Sanctions List
*
* This function downloads and searches the official OFAC SDN (Specially Designated Nationals)
* Enhanced XML file to determine if a given Ethereum address is sanctioned.
*
* Results are backed by cryptoeconomic security through the NAVS network - operators
* stake tokens to participate and are slashed for providing incorrect results.
*
* @param address The Ethereum address to check (must be valid hex string)
* @returns Promise<boolean> true if the address is sanctioned, false otherwise
*
* @example
* ```typescript
* const isSanctioned = await AMLServices.isAddressSanctioned('0x1234567890123456789012345678901234567890');
* console.log(`Address is sanctioned: ${isSanctioned}`);
* ```
*/
static isAddressSanctioned(address: `0x${string}`): Promise<boolean>;
}
export default AMLServices;
export * from './abi';
//# sourceMappingURL=index.d.ts.map