Constructs a new LendingRateTask.
Optional
properties: ILendingRateTaskProperties to set
A token mint address supported by the chosen protocol
LendingRateTask field.
01, apricot, francium, jet, larix, mango, port, solend, tulip
Static
createCreates a new LendingRateTask instance using the specified properties.
Optional
properties: ILendingRateTaskProperties to set
LendingRateTask instance
Static
decodeDecodes a LendingRateTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
LendingRateTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a LendingRateTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
LendingRateTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified LendingRateTask message. Does not implicitly verify messages.
LendingRateTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified LendingRateTask message, length delimited. Does not implicitly verify messages.
LendingRateTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a LendingRateTask message from a plain object. Also converts values to their respective internal types.
Plain object
LendingRateTask
Static
getStatic
toCreates a plain object from a LendingRateTask message. Also converts values to other types if specified.
LendingRateTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
Fetch the lending rates for various Solana protocols