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