Constructs a new TurboEthRedemptionRateTask.
Optionalproperties: ITurboEthRedemptionRateTaskProperties to set
Converts this TurboEthRedemptionRateTask to JSON.
JSON object
StaticcreateCreates a new TurboEthRedemptionRateTask instance using the specified properties.
Optionalproperties: ITurboEthRedemptionRateTaskProperties to set
TurboEthRedemptionRateTask instance
StaticdecodeDecodes a TurboEthRedemptionRateTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
TurboEthRedemptionRateTask
StaticdecodeDecodes a TurboEthRedemptionRateTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
TurboEthRedemptionRateTask
StaticencodeEncodes the specified TurboEthRedemptionRateTask message. Does not implicitly verify messages.
TurboEthRedemptionRateTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified TurboEthRedemptionRateTask message, length delimited. Does not implicitly verify messages.
TurboEthRedemptionRateTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a TurboEthRedemptionRateTask message from a plain object. Also converts values to their respective internal types.
Plain object
TurboEthRedemptionRateTask
StaticgetGets the default type url for TurboEthRedemptionRateTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a TurboEthRedemptionRateTask message. Also converts values to other types if specified.
TurboEthRedemptionRateTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a TurboEthRedemptionRateTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetches tETH/WETH redemption rate