@btc-helpers/rpc
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@btc-helpers/rpc

Installation

npm install @btc-helpers/rpc

Example

import RpcClient from "@btc-helpers/rpc";

const rpc = new RpcClient("http://devnet:devnet@localhost:8332").Typed; // .Typed lets TypeScript know about the available RPC endpoints

await rpc.listunspent({
  addresses: ["mqVnk6NPRdhntvfm4hh9vvjiRkFDUuSYsH"],
});

Readme

Keywords

Package Sidebar

Install

npm i @btc-helpers/rpc

Weekly Downloads

5

Version

2.0.0

License

MIT

Unpacked Size

92.7 kB

Total Files

6

Last publish

Collaborators

  • janniks