@textile/hub > Filecoin > cidInfo
Filecoin.cidInfo() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get information about the storage and storage job state of a cid stored by the user.
Signature:
cidInfo(cid: string): Promise<CidInfo>;
Parameters
Parameter | Type | Description |
---|---|---|
cid | string | The cid to get info for. |
Returns:
Promise<CidInfo>