1.3.7 • Published 21 days ago

@tchain/tcabci-read-js-client v1.3.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
21 days ago

TCABCI Read Node Javascript WebSocket Client

TransferChain Fastest Read Network WebSocket Client
Read Node Address: https://read-node-01.transferchain.io
Read Node WebSocket Address: wss://read-node-01.transferchain.io/ws

Installation

$ npm i @tchain/tcabci-read-js-client

Example

Subscribe, Listen and Unsubscribe Example

const tcAbciClient = require("@tchain/tcabci-read-js-client")

const client = new tcAbciClient()
// OR
const client = new tcAbciClient(['https://read-node-01.transferchain.io',
    'wss://read-node-01.transferchain.io/ws'])

client.Start()

client.Subscribe(["<your-public-address-one>", "<your-public-address-two>",])

client.SetListen(() => {
    // If a transaction has been sent to your addresses, the callback you set here will be called.
})

client.Unsubscribe()
client.Stop()

License

tcabci-read-js-client is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

1.3.7

21 days ago

1.3.6

1 month ago

1.3.5

1 month ago

1.3.4

2 months ago

1.3.3

2 months ago

1.3.2

3 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.1

4 months ago

1.2.0

4 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago