Skip to main content

bitcoin_rpc

Bitcoin RPC Library for Deno

Usage

The latest version of bitcoin_rpc can be imported from https://deno.land/x/bitcoin_rpc/mod.ts.

You can also view the documentaton here.

Example

import BitcoinRPC from "https://deno.land/x/bitcoin_rpc/mod.ts";

const client = new BitcoinRPC({
  host: "localhost",
  port: 18332,
  username: "user",
  password: "pass",
});

console.log(await client.getblockchaininfo());