Skip to main content

JavaScript SDK API Reference / Bindings / validateRecordRoa

Function: validateRecordRoa()

validateRecordRoa(domain, record, owner, payer, verifier): TransactionInstruction

Defined in: bindings/validateRecordRoa.ts:21

Builds an instruction to validate a record's Right of Association with a Solana verifier.

Parameters​

domain​

string

Full .sns domain or subdomain name

record​

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 = validateRecordRoa("example.sns", Record.Url, owner, payer, verifier);