Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforgeSDK

registration

List the 8 registration actions of @ensforge/sdk and whether each reads, writes or signs. Covers commit, getCommitmentStatus, getParameters, getPrice.

8 actions · 5 reads · 3 writes
Since v1.0.0View source

Call them as ens.registration.<action>(options) on a client, or Actions.registration.<action>(client, options).

Reads

ActionDescription
getCommitmentStatus (batchable)Reads where a registration commitment is in its window.
getParameters (batchable)Reads the .eth registration settings: contracts, commitment window, minimum duration, grace period and accepted payment tokens.
getPrice (batchable)Quotes the price of registering a .eth name, in an ERC-20 payment token.
getRenewalPrice (batchable)Quotes renewing one or more .eth names, in an ERC-20 payment token.
isAvailable (batchable)Checks whether a .eth name can be registered now.

Writes

ActionDescription
commitCommits to registering .eth names, the first half of a registration.
registerRegisters one or more .eth names: approve, commit, wait, register, then records and primary name.
renewRenews one or more .eth names, ENSv1 or ENSv2, paying in an ERC-20 token.

Was this page helpful?

On this page