Storage Miner API
Enable the API by passing the storageMiner
schema to LotusRPC
e.g.
import { LotusRPC } from '@filecoin-shipyard/lotus-client-rpc'
import { mainnet } from '@filecoin-shipyard/lotus-client-schema'
import { NodejsProvider } from '@filecoin-shipyard/lotus-client-provider-nodejs'
const provider = new NodejsProvider('<PROVIDER_URL>')
const client = new LotusRPC(provider, { schema: mainnet.storageMiner })
Lotus source: github.com/filecoin-project/lotus/api/api_storage.go
API Reference
- Actor
- Auth
- Deals
- dealsConsiderOfflineRetrievalDeals
- dealsConsiderOfflineStorageDeals
- dealsConsiderOnlineRetrievalDeals
- dealsConsiderOnlineStorageDeals
- dealsImportData
- dealsList
- dealsPieceCidBlocklist
- dealsSetConsiderOfflineRetrievalDeals
- dealsSetConsiderOfflineStorageDeals
- dealsSetConsiderOnlineRetrievalDeals
- dealsSetConsiderOnlineStorageDeals
- dealsSetPieceCidBlocklist
- Log
- Market
- Mining
- Misc
- Net
- Pieces
- Pledge
- Sealing
- Sector
- Sectors
- Storage
- Worker