Constructs a new MeteoraSwapTask.
Optionalproperties: IMeteoraSwapTaskProperties to set
Converts this MeteoraSwapTask to JSON.
JSON object
StaticcreateCreates a new MeteoraSwapTask instance using the specified properties.
Optionalproperties: IMeteoraSwapTaskProperties to set
MeteoraSwapTask instance
StaticdecodeDecodes a MeteoraSwapTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
MeteoraSwapTask
StaticdecodeDecodes a MeteoraSwapTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MeteoraSwapTask
StaticencodeEncodes the specified MeteoraSwapTask message. Does not implicitly verify messages.
MeteoraSwapTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified MeteoraSwapTask message, length delimited. Does not implicitly verify messages.
MeteoraSwapTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a MeteoraSwapTask message from a plain object. Also converts values to their respective internal types.
Plain object
MeteoraSwapTask
StaticgetGets the default type url for MeteoraSwapTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a MeteoraSwapTask message. Also converts values to other types if specified.
MeteoraSwapTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies 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.