Skip to main content

JS Kit SDK API Reference / Bindings

Bindings

High-level builders for SNS transaction instructions.

Interfaces

InterfaceDescription
BurnDomainParamsParameters for burning an SNS domain.
CreateNameRegistryParamsParameters for creating a name registry.
CreateRecordParamsParameters for creating a domain record.
CreateReverseParamsParameters for creating a reverse lookup record.
CreateSubdomainParamsParameters for creating an SNS subdomain.
DeleteNameRegistryParamsParameters for deleting a name registry.
DeleteRecordParamsParameters for deleting a domain record.
RecordVerificationParamsAccounts and record identity required to build a record-validation instruction.
RegisterDomainParamsParameters for registering an SNS domain.
RegisterDomainWithNftParamsParameters for registering an SNS domain with an NFT.
SetPrimaryDomainParamsInput for setting an owner's already-derived SNS primary domain.
TransferDomainParamsParameters for transferring an SNS domain.
TransferSubdomainParamsParameters for transferring an SNS subdomain.
UpdateNameRegistryParamsInput for updating bytes in a raw SNS name-registry account.
UpdateRecordParamsParameters for updating a domain record.
ValidateRecordRoaEthereumParamsParameters for validating a record with an Ethereum signature.

Functions

FunctionDescription
burnDomainBuilds an instruction to burn a top-level .sns domain.
createNameRegistryCreates a raw SPL Name Registry account with the given rent budget, allocated space, owner, and class.
createRecordBuilds an instruction to create a V2 record for a .sns domain or subdomain.
createReverseCreates a raw reverse lookup record for the specified domain account.
createSubdomainBuilds the instructions to create a .sns subdomain.
deleteNameRegistryDeletes a raw SPL Name Registry account and refunds the associated rent balance to the specified target.
deleteRecordBuilds an instruction to delete a V2 record for a .sns domain or subdomain.
registerDomainBuilds the instructions to register a top-level .sns domain.
registerDomainWithNftBuilds an instruction to register a top-level .sns domain using a Bonfida Wolves NFT.
setPrimaryDomainSets the primary domain for the specified owner.
setRecordRoaVerifierBuilds an instruction to store the expected Right of Association verifier for a V2 record.
setRecordStalenessVerifierBuilds an instruction to write or refresh staleness verifier metadata for a V2 record.
transferDomainBuilds an instruction to transfer a top-level .sns domain.
transferSubdomainBuilds an instruction to transfer a .sns subdomain.
updateNameRegistryUpdates the data of a raw SPL Name Registry account.
updateRecordBuilds an instruction to update a V2 record for a .sns domain or subdomain.
validateRecordRoaBuilds an instruction to validate a V2 record's Right of Association with a Solana verifier.
validateRecordRoaEthereumBuilds an instruction to validate a V2 record's Right of Association with an Ethereum signature.