Constructs a new AnchorFetchTask.
Optionalproperties: IAnchorFetchTaskProperties to set
The account to parse.
Owning program of the account to parse.
Converts this AnchorFetchTask to JSON.
JSON object
StaticcreateCreates a new AnchorFetchTask instance using the specified properties.
Optionalproperties: IAnchorFetchTaskProperties to set
AnchorFetchTask instance
StaticdecodeDecodes an AnchorFetchTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
AnchorFetchTask
StaticdecodeDecodes an AnchorFetchTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
AnchorFetchTask
StaticencodeEncodes the specified AnchorFetchTask message. Does not implicitly {@apilink oracle_job.OracleJob.AnchorFetchTask.verify|verify} messages.
AnchorFetchTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified AnchorFetchTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.AnchorFetchTask.verify|verify} messages.
AnchorFetchTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates an AnchorFetchTask message from a plain object. Also converts values to their respective internal types.
Plain object
AnchorFetchTask
StaticgetGets the default type url for AnchorFetchTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from an AnchorFetchTask message. Also converts values to other types if specified.
AnchorFetchTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies an AnchorFetchTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Load a parse an Anchor based solana account.