Constructs a new MeteoraSwapTask.
Optional
properties: IMeteoraSwapTaskProperties to set
Converts this MeteoraSwapTask to JSON.
JSON object
Static
createCreates a new MeteoraSwapTask instance using the specified properties.
Optional
properties: IMeteoraSwapTaskProperties to set
MeteoraSwapTask instance
Static
decodeDecodes a MeteoraSwapTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
MeteoraSwapTask
Static
decodeDecodes a MeteoraSwapTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MeteoraSwapTask
Static
encodeEncodes the specified MeteoraSwapTask message. Does not implicitly {@apilink oracle_job.OracleJob.MeteoraSwapTask.verify|verify} messages.
MeteoraSwapTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified MeteoraSwapTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.MeteoraSwapTask.verify|verify} messages.
MeteoraSwapTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a MeteoraSwapTask message from a plain object. Also converts values to their respective internal types.
Plain object
MeteoraSwapTask
Static
getGets the default type url for MeteoraSwapTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a MeteoraSwapTask message. Also converts values to other types if specified.
MeteoraSwapTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a MeteoraSwapTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Grab the swap price from a Meteora pool.