JS Kit SDK API Reference / States
States
Public account-state models and deserializers.
Enumerations
| Enumeration | Description |
|---|---|
| NftTag | Tags identifying the SNS NFT state variant. |
Classes
| Class | Description |
|---|---|
| NftState | Decoded state of an SNS NFT account. |
| PrimaryDomainState | Decoded state of an SNS primary-domain account. |
| RecordHeaderState | Decoded header of an SNS V2 record account. |
| RecordState | Decoded SNS V2 record account, including its validation data and content. |
| RegistryState | Decoded state of an SNS name-registry account. |
Interfaces
| Interface | Description |
|---|---|
| NftStateParams | Input for decoding an SNS NFT account. |
| PrimaryDomainStateParams | Input for decoding an SNS primary-domain account. |
| RecordHeaderStateParams | Input for decoding an SNS V2 record header. |
| RegistryStateParams | Input for decoding an SNS name-registry account. |
Variables
| Variable | Description |
|---|---|
| NAME_REGISTRY_LEN | Byte length of the common SNS name-registry account header. |
Functions
| Function | Description |
|---|---|
| getValidationLength | Returns the byte length of an identifier encoded for a validation mode. |