@textile/hub > Filecoin > storageDealRecords
Filecoin.storageDealRecords() 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.
Query for Filecoin storage deal records for the current account/user.
Signature:
storageDealRecords(config: DealRecordsConfig): Promise<StorageDealRecord[]>;
Parameters
Parameter | Type | Description |
---|---|---|
config | DealRecordsConfig | A config object to control the behavior of the query. |
Returns:
Promise<StorageDealRecord[]>