UNPKG

@iexec/dataprotector

Version:

This product enables users to confidentially store data–such as mail address, documents, personal information ...

26 lines 640 B
import { gql } from 'graphql-request'; export async function getProtectedDataPricingParamsQuery({ graphQLClient, protectedData, }) { const protectedDataQuery = gql ` query { protectedData(id: "${protectedData}") { id name isRentable isIncludedInSubscription isForSale collection { subscriptionParams { price duration } } rentalParams { price duration } } } `; return graphQLClient.request(protectedDataQuery); } //# sourceMappingURL=getProtectedDataPricingParamsQuery.js.map