Constructs a new FragmetricTask.
Optional
properties: IFragmetricTaskProperties to set
Converts this FragmetricTask to JSON.
JSON object
Static
createCreates a new FragmetricTask instance using the specified properties.
Optional
properties: IFragmetricTaskProperties to set
FragmetricTask instance
Static
decodeDecodes a FragmetricTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
FragmetricTask
Static
decodeDecodes a FragmetricTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
FragmetricTask
Static
encodeEncodes the specified FragmetricTask message. Does not implicitly {@apilink oracle_job.OracleJob.FragmetricTask.verify|verify} messages.
FragmetricTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified FragmetricTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.FragmetricTask.verify|verify} messages.
FragmetricTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a FragmetricTask message from a plain object. Also converts values to their respective internal types.
Plain object
FragmetricTask
Static
getGets the default type url for FragmetricTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a FragmetricTask message. Also converts values to other types if specified.
FragmetricTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies 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