Skip to main content

JS Kit SDK API Reference / States

States

Public account-state models and deserializers.

Enumerations

EnumerationDescription
NftTagTags identifying the SNS NFT state variant.

Classes

ClassDescription
NftStateDecoded state of an SNS NFT account.
PrimaryDomainStateDecoded state of an SNS primary-domain account.
RecordHeaderStateDecoded header of an SNS V2 record account.
RecordStateDecoded SNS V2 record account, including its validation data and content.
RegistryStateDecoded state of an SNS name-registry account.

Interfaces

InterfaceDescription
NftStateParamsInput for decoding an SNS NFT account.
PrimaryDomainStateParamsInput for decoding an SNS primary-domain account.
RecordHeaderStateParamsInput for decoding an SNS V2 record header.
RegistryStateParamsInput for decoding an SNS name-registry account.

Variables

VariableDescription
NAME_REGISTRY_LENByte length of the common SNS name-registry account header.

Functions

FunctionDescription
getValidationLengthReturns the byte length of an identifier encoded for a validation mode.