JavaScript SDK API Reference / Bindings / setRecordRoaVerifier
Function: setRecordRoaVerifier()
setRecordRoaVerifier(
domain,record,owner,payer,verifier):TransactionInstruction
Defined in: bindings/setRecordRoaVerifier.ts:24
Builds an instruction to store the expected Right of Association verifier.
Parameters
domain
string
Full .sns domain or subdomain name
record
Record type
owner
PublicKey
Current owner of the domain
payer
PublicKey
Fee payer for the instruction
verifier
PublicKey
Verifier account used by the record validation instruction
Returns
TransactionInstruction
Transaction instruction.
Example
const instruction = setRecordRoaVerifier("example.sns", Record.Url, owner, payer, verifier);