Constructs a new LendingRateTask.
Optionalproperties: ILendingRateTaskProperties to set
A token mint address supported by the chosen protocol
LendingRateTask field.
01, apricot, francium, jet, larix, mango, port, solend, tulip
Converts this LendingRateTask to JSON.
JSON object
StaticcreateCreates a new LendingRateTask instance using the specified properties.
Optionalproperties: ILendingRateTaskProperties to set
LendingRateTask instance
StaticdecodeDecodes a LendingRateTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
LendingRateTask
StaticdecodeDecodes a LendingRateTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
LendingRateTask
StaticencodeEncodes the specified LendingRateTask message. Does not implicitly verify messages.
LendingRateTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified LendingRateTask message, length delimited. Does not implicitly verify messages.
LendingRateTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a LendingRateTask message from a plain object. Also converts values to their respective internal types.
Plain object
LendingRateTask
StaticgetGets the default type url for LendingRateTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a LendingRateTask message. Also converts values to other types if specified.
LendingRateTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a LendingRateTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetch the lending rates for various Solana protocols