Constructs a new MapleFinanceTask.
Optionalproperties: IMapleFinanceTaskProperties to set
Converts this MapleFinanceTask to JSON.
JSON object
StaticcreateCreates a new MapleFinanceTask instance using the specified properties.
Optionalproperties: IMapleFinanceTaskProperties to set
MapleFinanceTask instance
StaticdecodeDecodes a MapleFinanceTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
MapleFinanceTask
StaticdecodeDecodes a MapleFinanceTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MapleFinanceTask
StaticencodeEncodes the specified MapleFinanceTask message. Does not implicitly {@apilink oracle_job.OracleJob.MapleFinanceTask.verify|verify} messages.
MapleFinanceTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified MapleFinanceTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.MapleFinanceTask.verify|verify} messages.
MapleFinanceTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a MapleFinanceTask message from a plain object. Also converts values to their respective internal types.
Plain object
MapleFinanceTask
StaticgetGets the default type url for MapleFinanceTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a MapleFinanceTask message. Also converts values to other types if specified.
MapleFinanceTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a MapleFinanceTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetch pricing information for Maple Finance assets.
Input: None
Returns: The requested price or value based on the specified method.
Example: Fetch the syrupUSDC fair price from Maple Finance