Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

threefoldtecharchive/rivine-ts-types

Repository files navigation

Rivine Typescript

JavaScript Style Guide NPM version

A Typescript library for usage in the browser

Installation

npm install rivine-ts-types

Usage

import { Parser } from 'rivine-ts-types'

const myParser = new Parser(precision)

// In case explorer/hashes is called
const parsedResponse = myParser.ParseHashResponseJSON(response, hash)

// In case explorer/blocks is called
const parsedResponse = myParser.ParseBlockResponseJSON(response)

License

MIT