wrapper.getFuses
Reads the NameWrapper owner, fuses and expiry of an ENSv1 name. Parameters, return value, errors and examples for wrapper.getFuses in @ensforge/sdk.
Reads the NameWrapper owner, fuses and expiry of an ENSv1 name.
When to use
Use to see which powers an owner or parent has given up on a wrapped name.
Details
nullwhen the name is not wrapped, or is an expired emancipated name.- Expired names report no fuses.
Signature
function getFuses(client: Like, options: getFuses.Options): Promise<getFuses.ReturnType>Call it as ens.wrapper.getFuses(options) on a client, or Actions.wrapper.getFuses(client, options).
wrapper.getFuses.request(options) builds a deferred read for Actions.batch. See Look up many at once.
Parameters
| Option | Type | Default | Description |
|---|---|---|---|
name (required) | string | ENS name. Normalized automatically. |
Also takes the read options.
Returns
Resolves to getFuses.ReturnType. Wrapped owner, fuse mask, burned fuses by name and expiry, or null.
| Field | Type | Description |
|---|---|---|
owner | Address | |
fuses | number | |
burned | Fuse.Decoded | |
expiry | bigint |
Errors
| Error | Codes | When |
|---|---|---|
InvalidInputError | INVALID_NAME | invalid names. |
UnsupportedError | UNSUPPORTED_ON_DEPLOYMENT | without ENSv1. |
NetworkError | RPC_REQUEST_FAILED, RPC_TIMEOUT, RATE_LIMITED | the RPC request fails. |
It can also fail with the errors every read can (Errors.CommonError: ConfigError, ContractRevertError, InternalError, NetworkError).
See How errors work.
Examples
const wrapped = await ens.wrapper.getFuses({ name: "alice.eth" })Example response
Recorded from Ethereum mainnet on 2026-11-18 at block 26443964. Values change as the chain does.
await ens.wrapper.getFuses({ name: "ens.eth" })nullSee also
wrapper.setFusesto burn fuses
Was this page helpful?