Skip to content
View feramer's full-sized avatar

Block or report feramer

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
feramer/README.md

const init = async () => { const { bitcoin: { websocket }, } = mempoolJS();

const ws = websocket.initClient({ options: ['blocks', 'stats', 'mempool-blocks', 'live-2h-chart'], });

ws.addEventListener('message', function incoming({data}) { const res = JSON.parse(data.toString()); if (res.block) { console.log(res.block); } if (res.mempoolInfo) { console.log(res.mempoolInfo); } if (res.transactions) { console.log(res.transactions); } if (res.mempoolBlocks) { console.log(res.mempoolBlocks); } }); }; init();

Popular repositories Loading

  1. feramer feramer Public

    Config files for my GitHub profile.

  2. f f Public

  3. docs docs Public

    Forked from github/docs

    The open-source repo for docs.github.com

    JavaScript

  4. feramerz feramerz Public template

    Forked from CircleCI-Public/Orb-Template

    A template repository for creating orbs, utilized by the orb development kit. Use the CircleCI CLI's `orb init` command to use.

    Shell

  5. remix-contract-getter remix-contract-getter Public template

    Forked from yann300/remix-contract-getter

    JavaScript

  6. mempool.js mempool.js Public

    Forked from mempool/mempool.js

    NPM Package for Mempool.Space API.

    TypeScript