1.0.21 • Published 2 years ago

@anzerr/banano.rpc v1.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Intro

GitHub Actions status | linter GitHub Actions status | publish GitHub Actions status | test

Typescript interface to call the nano rpc

Install

npm install --save git+https://git@github.com/anzerr/banano.rpc.git
npm install --save @anzerr/banano.rpc

Example

import {Rpc} from 'banano.rpc';

let api = new Rpc(`http://localhost:7072`); // {number: 'bigInt|raw'} or {number: (n: string) => any}
api.account('ban_1fundm3d7zritekc8bdt4oto5ut8begz6jnnt7n3tdxzjq3t46aiuse1h7gj').balance().then((res) => {
	console.log(res); // {balance: number, pending: number}
})
1.0.21

2 years ago

1.0.20

3 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago