Constructs a new SanctumLstPriceTask.
Optionalproperties: ISanctumLstPriceTaskProperties to set
The address of the LST mint.
e.g. INF - 5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm
Converts this SanctumLstPriceTask to JSON.
JSON object
StaticcreateCreates a new SanctumLstPriceTask instance using the specified properties.
Optionalproperties: ISanctumLstPriceTaskProperties to set
SanctumLstPriceTask instance
StaticdecodeDecodes a SanctumLstPriceTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
SanctumLstPriceTask
StaticdecodeDecodes a SanctumLstPriceTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SanctumLstPriceTask
StaticencodeEncodes the specified SanctumLstPriceTask message. Does not implicitly verify messages.
SanctumLstPriceTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified SanctumLstPriceTask message, length delimited. Does not implicitly verify messages.
SanctumLstPriceTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a SanctumLstPriceTask message from a plain object. Also converts values to their respective internal types.
Plain object
SanctumLstPriceTask
StaticgetGets the default type url for SanctumLstPriceTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a SanctumLstPriceTask message. Also converts values to other types if specified.
SanctumLstPriceTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a SanctumLstPriceTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Grab the price of an Sanctum LST relative to SOL.