chainalysis-api-rest
v0.1.1
Published
Chainalysis Know Your Transaction (KYT) is an automated cryptocurrency transaction monitoring and compliance solution. At the core of KYT is a REST-based API that provides you with transaction risk monitoring, alerts on risky transfers, and comprehensive
Downloads
11
Readme
Chainalysis API REST
A non-official interface for interact with Chainalysis written by eDesigns Company and CompraDinero.com
Installation
npm i chainalysis-api-rest
Usage
import { ChainalysisApiRest } from 'chainalysis-api-rest';
ChainalysisApiRest.init({
token: {API_HASH_TOKEN}
});
Transfers
This endpoint registers a transfer. Once you make a request for a transfer, KYT stores it and begins processing.
For transfers that are valid and KYT can process, the transfer should process within 30 seconds.
ChainalysisApiRest.v2.Users.Transfers.registerTransfer({
userID: {userID},
asset: {asset},
transferReference: `${hash}:${address}`,
direction: "received",
assetAmount: 0.001
});
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.