deleteAvatar and deleteHeader to remove an avatar or header image. These methods require a provider so the SDK can sign the SIWE message for you.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove avatar and header images for a subname.
deleteAvatar and deleteHeader to remove an avatar or header image. These methods require a provider so the SDK can sign the SIWE message for you.
const result = await client.deleteAvatar({
subname: 'myavatar.offchainsub.eth',
});
console.log(result.message);
const result = await client.deleteHeader({
subname: 'myavatar.offchainsub.eth',
});
| Parameter | Type | Description |
|---|---|---|
subname | string | ENS subname to delete the image from. |
export interface DeleteResult {
message: string;
deletedAt: string;
}
Was this page helpful?
