1.0.15 • Published 3 months ago

@paymentnet/requester v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

ts-requester

Request Transfer Sequencer over websocket

Install

$ npm install @paymentnet/requester
$ yarn add @paymentnet/requester

Usage

import Requester from "@paymentnet/requester"

const requeter = new Requester("ws://<YOUR_ENDPOINT>")

async function start() {
    // Asynchronously send message through Websocket and asynchronously retrieve the result
    // The library internally establishes the correspondence between requests and responses
    const data = await requester.send({req: "tx.detail", arg: {txId: "<TX_ID>"}})
    return data
}

start()
1.0.15

3 months ago

1.0.14

5 months ago

1.0.13

5 months ago

1.0.11

5 months ago

1.0.10

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago