@textile/hub > StorageDealInfo
StorageDealInfo interface
Information about a Filecoin storage deal.
Signature:
export interface StorageDealInfo
Properties
Property | Type | Description |
---|---|---|
activationEpoch | number | The epoch in which the deal became active, or 0 if it is not yet active. |
dealId | number | The deal id. |
duration | number | The duration of the deal in epochs. |
message | string | A message from the miner. |
miner | string | The id of the miner for the deal. |
pieceCid | string | The piece cid. |
pricePerEpoch | number | The storage price in units of attoFIL per GiB per epoch. |
proposalCid | string | The cid of the deal proposal. |
size | number | The size of the stored data in bytes, including padding. |
startEpoch | number | The start epoch of the deal. |
stateId | number | The id of the current deal state. |
stateName | string | The name of the current deal state. |