Sean Outram

About

Experience

Portfolio

Blog

hcb.js Documentation

Documentation from branch-main-2bdb2247d900aa8e1870cc0160a231f3597a0714


ClassesEnumsFunctionsInterfaces

hcb.js

A npm package for the HCB transparency API

Getting Started!

CJS

const { HCB } = require('hcb.js');
const hcb = new HCB();

// Get 100 transactions from hq's account
const transactions = hcb.transaction.allOrgTransactions({
	id: 'hq',
	per_page: 100
});

ESM / TS

import { HCB } from 'hcb.js';
const hcb = new HCB();

// Get 100 transactions from hq's account
const transactions = hcb.transaction.allOrgTransactions({
	id: 'hq',
	per_page: 100
});

Documentation

You can view our documentation here [here](https://sean.cyou/docs/hcb.js]

© Sean Outram 2023