Constructs a new SplStakePoolTask.
Optionalproperties: ISplStakePoolTaskProperties to set
Converts this SplStakePoolTask to JSON.
JSON object
StaticcreateCreates a new SplStakePoolTask instance using the specified properties.
Optionalproperties: ISplStakePoolTaskProperties to set
SplStakePoolTask instance
StaticdecodeDecodes a SplStakePoolTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
SplStakePoolTask
StaticdecodeDecodes a SplStakePoolTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SplStakePoolTask
StaticencodeEncodes the specified SplStakePoolTask message. Does not implicitly verify messages.
SplStakePoolTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified SplStakePoolTask message, length delimited. Does not implicitly verify messages.
SplStakePoolTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a SplStakePoolTask message from a plain object. Also converts values to their respective internal types.
Plain object
SplStakePoolTask
StaticgetGets the default type url for SplStakePoolTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a SplStakePoolTask message. Also converts values to other types if specified.
SplStakePoolTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a SplStakePoolTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetch the JSON representation of an SPL Stake Pool account.