Constructs a new FragmetricTask.
Optionalproperties: IFragmetricTaskProperties to set
Converts this FragmetricTask to JSON.
JSON object
StaticcreateCreates a new FragmetricTask instance using the specified properties.
Optionalproperties: IFragmetricTaskProperties to set
FragmetricTask instance
StaticdecodeDecodes a FragmetricTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
FragmetricTask
StaticdecodeDecodes a FragmetricTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
FragmetricTask
StaticencodeEncodes the specified FragmetricTask message. Does not implicitly verify messages.
FragmetricTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified FragmetricTask message, length delimited. Does not implicitly verify messages.
FragmetricTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a FragmetricTask message from a plain object. Also converts values to their respective internal types.
Plain object
FragmetricTask
StaticgetGets the default type url for FragmetricTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a FragmetricTask message. Also converts values to other types if specified.
FragmetricTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a FragmetricTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetch the current price for Fragmetric liquid restaking tokens.
Input: None
Returns: The current price of the specified Fragmetric token relative to SOL (1.0 = 1 SOL)
Example: Fetch the fragSOL token price