Skip to main content

JS Kit SDK API Reference / Bindings / validateRecordRoa

Function: validateRecordRoa()

validateRecordRoa(params): Promise<Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>>

Defined in: bindings/validateRecordRoa.ts:30

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

Parameters

params

RecordVerificationParams

Record validation parameters

Returns

Promise<Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>>

Transaction instruction.

Example

const instruction = await validateRecordRoa({
domain: "example.sns",
record: Record.Url,
owner,
payer,
verifier,
});