Clear Profile Picture
Use the functionality below to allow users to clear/unset their PFP from your own front-end.
function createUnsetProfilePicturePayload (client: JsonRpcProvider, address: string, pfpId: string, programId?: string): Promise<Base64DataBuffer>Params
client- Sui JSON RPC provider objectaddress- The address of the walletpfpId- The PFP object identifierprogramId- PFP program id (optional)
Last updated