FilStorage interface
Current Filecoin storage state with a single miner.
Signature:
export interface FilStorage
Properties
Property | Type | Description |
---|---|---|
dealId | number | The unique deal id. |
duration | number | The number of epochs the data is being stored for. |
epochPrice | number | The storage price in attoFIL per GiB per epoch. |
miner | string | The miner the data is stored with. |
pieceCid | string | The piece cid. |
renewed | boolean | Whether or not the current storage is a renewal. |
startEpoch | number | The starting epoch in which the deal is considered active on-chain. |