keva-api-js
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

Keva Javascript API

This library provides a set of Javascript API to access Kevacoin ElectrumX through websocket.

Quick Start

Install the package:

npm i --save keva-api-js

Example:

import KevaWS from 'keva-api-js';

async getValue() {
    const kevaWS = new KevaWS("wss://ec1.kevacoin.org:8443");
    await kevaWS.connect();

    const result = await kevaWS.getValue(
        'Nfw2WYkGoSKve74cCfEum67x8bFgpHygxg',
        'NFTs on Keva!'
    );

    // More calls ...

    kevaWS.close();
}

Documentation

TBD

Readme

Keywords

Package Sidebar

Install

npm i keva-api-js

Weekly Downloads

3

Version

0.4.3

License

MIT

Unpacked Size

44.7 kB

Total Files

16

Last publish

Collaborators

  • kevacoin