1.0.4 • Published 3 years ago

filecoin-chaininfo v1.0.4

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

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);
    }
  }
});
1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago