Bitcoin RPC Library for Deno
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.
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());