JS Kit SDK API Reference / Bindings / transferDomain
Function: transferDomain()
transferDomain(
params):Promise<Instruction<string, readonly (AccountLookupMeta<string,string> |AccountMeta<string>)[]>>
Defined in: bindings/transferDomain.ts:43
Builds an instruction to transfer a top-level .sns domain.
Parameters
params
Transfer parameters
Returns
Promise<Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>>
Transaction instruction.
Example
const instruction = await transferDomain({ rpc, domain: "example.sns", newOwner });