Authentication
Receiving prediction events requires sending authentication information when subscribing to a prediction service. The Authentication requires sending an API key along with a signature that is produced based on a number of data elements as described below.
Authentication Parameters
In order to authenticate your request, the following information is required:
API key
API private key
Message type
Current timestamp in millisecond
Authentication Logic
Use the following steps:
Build a string message:
message_type + api_key + timestamp
Sign the message using
Hmac512
algorithm.Send the signature produced above along with other subscription parameters
Sample code to build a subscription message
Use the following method to create a signature:
Last updated