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';