@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
4 lines (3 loc) • 415 B
TypeScript
import { BuyProtectedDataParams, SharingContractConsumer, SuccessWithTransactionHash } from '../types/index.js';
import { IExecConsumer } from '../types/internalTypes.js';
export declare function buyProtectedData({ iexec, sharingContractAddress, protectedData, price, addToCollectionId, addOnlyAppWhitelist, }: IExecConsumer & SharingContractConsumer & BuyProtectedDataParams): Promise<SuccessWithTransactionHash>;