chainalysis-api-rest
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

License

ISC

/chainalysis-api-rest/

    Package Sidebar

    Install

    npm i chainalysis-api-rest

    Weekly Downloads

    0

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    218 kB

    Total Files

    21

    Last publish

    Collaborators

    • roger-edesigns