Constructs a new MeteoraSwapTask.
Optional
properties: IMeteoraSwapTaskProperties to set
The address of the pool.
The pool type.
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
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MeteoraSwapTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MeteoraSwapTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified MeteoraSwapTask message. Does not implicitly 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 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
getStatic
toCreates a plain object from a MeteoraSwapTask message. Also converts values to other types if specified.
MeteoraSwapTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
Grab the swap price from a Meteora pool.