Constructs a new KalshiApiTask.
Optional
properties: IKalshiApiTaskProperties to set
A string containing the API Key ID
A string containing the private key for authentication
Optional signature string field
Optional timestamp in milliseconds (used with signature)
A string containing the URL to direct this HTTP request to.
Converts this KalshiApiTask to JSON.
JSON object
Static
createCreates a new KalshiApiTask instance using the specified properties.
Optional
properties: IKalshiApiTaskProperties to set
KalshiApiTask instance
Static
decodeDecodes a KalshiApiTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
KalshiApiTask
Static
decodeDecodes a KalshiApiTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
KalshiApiTask
Static
encodeEncodes the specified KalshiApiTask message. Does not implicitly {@apilink oracle_job.OracleJob.KalshiApiTask.verify|verify} messages.
KalshiApiTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified KalshiApiTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.KalshiApiTask.verify|verify} messages.
KalshiApiTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a KalshiApiTask message from a plain object. Also converts values to their respective internal types.
Plain object
KalshiApiTask
Static
getGets the default type url for KalshiApiTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a KalshiApiTask message. Also converts values to other types if specified.
KalshiApiTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a KalshiApiTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
KalshiApiTask fetches a GET endpoint from the Kalshi API (with a token if supplied) and returns the JSON result