@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
4 lines (3 loc) • 400 B
TypeScript
import { SharingContractConsumer, SubscribeToCollectionParams, SuccessWithTransactionHash } from '../types/index.js';
import { IExecConsumer } from '../types/internalTypes.js';
export declare const subscribeToCollection: ({ iexec, sharingContractAddress, collectionId, price, duration, }: IExecConsumer & SharingContractConsumer & SubscribeToCollectionParams) => Promise<SuccessWithTransactionHash>;