JS Kit SDK API Reference / Instructions / ValidateSolanaSignatureInstruction
Class: ValidateSolanaSignatureInstruction
Defined in: instructions/validateSolanaSignatureInstruction.ts:18
Builder for validating a Solana signature for an SNS record.
Constructors
Constructor
new ValidateSolanaSignatureInstruction(
obj):ValidateSolanaSignatureInstruction
Defined in: instructions/validateSolanaSignatureInstruction.ts:30
Parameters
obj
ValidateSolanaSignatureInstructionParams
Returns
ValidateSolanaSignatureInstruction
Properties
staleness
staleness:
boolean
Defined in: instructions/validateSolanaSignatureInstruction.ts:22
Whether to validate staleness.
tag
tag:
number
Defined in: instructions/validateSolanaSignatureInstruction.ts:20
Instruction discriminator.
schema
staticschema:object
Defined in: instructions/validateSolanaSignatureInstruction.ts:23
struct
struct:
object
struct.staleness
staleness:
string="bool"
struct.tag
tag:
string="u8"
Methods
getInstruction()
getInstruction(
programAddress,systemProgram,splNameServiceProgram,feePayer,record,domain,domainOwner,centralState,verifier):Instruction
Defined in: instructions/validateSolanaSignatureInstruction.ts:39
Parameters
programAddress
Address
systemProgram
Address
splNameServiceProgram
Address
feePayer
Address
record
Address
domain
Address
domainOwner
Address
centralState
Address
verifier
Address
Returns
Instruction
serialize()
serialize():
Uint8Array
Defined in: instructions/validateSolanaSignatureInstruction.ts:35
Returns
Uint8Array