Constructs a new TurboEthRedemptionRateTask.
Optional
properties: ITurboEthRedemptionRateTaskProperties to set
Converts this TurboEthRedemptionRateTask to JSON.
JSON object
Static
createCreates a new TurboEthRedemptionRateTask instance using the specified properties.
Optional
properties: ITurboEthRedemptionRateTaskProperties to set
TurboEthRedemptionRateTask instance
Static
decodeDecodes a TurboEthRedemptionRateTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
TurboEthRedemptionRateTask
Static
decodeDecodes a TurboEthRedemptionRateTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
TurboEthRedemptionRateTask
Static
encodeEncodes the specified TurboEthRedemptionRateTask message. Does not implicitly verify messages.
TurboEthRedemptionRateTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified TurboEthRedemptionRateTask message, length delimited. Does not implicitly verify messages.
TurboEthRedemptionRateTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a TurboEthRedemptionRateTask message from a plain object. Also converts values to their respective internal types.
Plain object
TurboEthRedemptionRateTask
Static
getGets the default type url for TurboEthRedemptionRateTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a TurboEthRedemptionRateTask message. Also converts values to other types if specified.
TurboEthRedemptionRateTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a TurboEthRedemptionRateTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Fetches tETH/WETH redemption rate