JS Kit SDK API Reference / Bindings / deleteNameRegistry
Function: deleteNameRegistry()
deleteNameRegistry(
params):Promise<Instruction<string, readonly (AccountLookupMeta<string,string> |AccountMeta<string>)[]>>
Defined in: bindings/deleteNameRegistry.ts:49
Deletes a raw SPL Name Registry account and refunds the associated rent balance to the specified target.
This low-level helper accepts a raw registry seed/name and does not parse
.sns or .sol suffixes.
Parameters
params
Deletion parameters
Returns
Promise<Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>>
Transaction instruction.
Example
const instruction = await deleteNameRegistry({ rpc, name: "example", refundAddress });