Filecoin.js

Filecoin.js

  • Documentation
  • API Reference
  • GitHub

›Using a provider

Getting started

  • Introduction
  • Adding Filecoin.js
  • Guides example
  • WS vs HTTP

Setup Wallet Providers

  • Setup lotus provider
  • Setup mnemonic provider
  • Setup metamask provider

Using a provider

  • Send message
  • Sign message
  • Verify message
  • Check if message is mined

Extra

  • Payment channels
  • State methods
  • Multisig Wallets

Contributing

  • How to contribute
  • Development workflow

Check if message is mined

In order to check if a particular message cid is mined you can check if it's in the blockchain store:

 const httpConnector = new HttpJsonRpcConnector({ url: __LOTUS_RPC_ENDPOINT__, token: __LOTUS_AUTH_TOKEN__ });
 const con = new LotusClient(httpConnector);
 const isMined = await con.chain.hasObj(__MSG_CID__);
← Verify messagePayment channels →
Docs
Getting StartedAPI Reference
Community
Slack
More
BlogGitHubStar
Copyright © 2022 Filecoin