filecoin-chaininfo

1.0.4 • Public • Published

Filecoin ChainInfo

Install

npm i filecoin-chaininfo

Usage

const { FilecoinChainInfo } = require('filecoin-chaininfo');
let filecoinChainInfo = new FilecoinChainInfo('lotus.api', 'lotus.token');

filecoinChainInfo.GetMessages(261000 /*start block*/, 261020 /*end block*/, async (messages) => {
  for (const msg of messages) {
    if (msg.receipt.ExitCode == 0) {
      // ...
      console.log(msg);
    }
  }
});

Dependents (0)

Package Sidebar

Install

npm i filecoin-chaininfo

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

5.75 kB

Total Files

5

Last publish

Collaborators

  • stefangeorgerobert