JavaScript SDK API Reference / Bindings
Bindings
High-level builders for SNS transaction instructions.
Functions
| Function | Description |
|---|---|
| burnDomain | Builds an instruction to burn a top-level .sns domain and its reverse lookup account. |
| createNameRegistry | Builds an instruction to create a name account with the given rent budget, space, owner, and class. |
| createRecord | Builds an instruction to create a record for a .sns domain or subdomain. |
| createReverse | Builds an instruction to create an SNS reverse lookup account. |
| createSubdomain | Builds the instructions to create a .sns subdomain. |
| deleteNameRegistry | Builds an instruction to delete a name account and transfer reclaimed rent. |
| deleteRecord | Builds an instruction to delete a record for a .sns domain or subdomain. |
| registerDomain | Builds the instructions to register a top-level .sns domain. |
| registerDomainWithNft | Builds an instruction to register a top-level .sns domain using a Wolves NFT. |
| setBackground | Builds the instructions to set an issued custom background for a top-level .sns domain. |
| setPrimaryDomain | Builds an instruction to set a domain as the owner's primary domain. |
| setRecordRoaVerifier | Builds an instruction to store the expected Right of Association verifier. |
| setRecordStalenessVerifier | Builds an instruction to write or refresh staleness verifier metadata. |
| transferDomain | Builds an instruction to transfer a top-level .sns domain. |
| transferSubdomain | Builds an instruction to transfer a .sns subdomain. |
| updateNameRegistry | Builds an instruction to overwrite name registry data. |
| updateRecord | Builds an instruction to update a record for a .sns domain or subdomain. |
| validateRecordRoa | Builds an instruction to validate a record's Right of Association with a Solana verifier. |
| validateRecordRoaEthereum | Builds an instruction to validate a record's Right of Association with an Ethereum signature. |