Skip to main content

JS Kit SDK API Reference / Bindings / UpdateNameRegistryParams

Interface: UpdateNameRegistryParams

Defined in: bindings/updateNameRegistry.ts:21

Input for updating bytes in a raw SNS name-registry account.

Example

const params: UpdateNameRegistryParams = {
rpc,
domain: "example",
offset: 0,
data: new TextEncoder().encode("data"),
};

Properties

classAddress?

optional classAddress?: Address

Defined in: bindings/updateNameRegistry.ts:35

Optional class address for the registry.


data

data: Uint8Array

Defined in: bindings/updateNameRegistry.ts:32

Bytes to write to the registry.


domain

domain: string

Defined in: bindings/updateNameRegistry.ts:26

Raw registry seed/name to update.


offset

offset: number

Defined in: bindings/updateNameRegistry.ts:29

Byte offset where the update begins.


parentAddress?

optional parentAddress?: Address

Defined in: bindings/updateNameRegistry.ts:39

Optional parent name-account address.


rpc

rpc: Rpc<GetAccountInfoApi>

Defined in: bindings/updateNameRegistry.ts:23

RPC client used to retrieve the registry owner.