createAddOnlyAppWhitelist
Method to create an AddOnlyAppWhitelist. By default, the owner will be the caller of the createAddOnlyAppWhitelist method, but as the AddOnlyAppWhitelist is an ERC721, you can transfer ownership to someone else.
Usage
ts
const isAddedToAddAppToAddOnlyAppWhitelist =
await dataProtectorSharing.createAddOnlyAppWhitelist();Return value
ts
import { type CreateAppWhitelistResponse } from '@iexec/dataprotector';