All requests need to be signed using orderly-key and orderly-secret.
ed25519 elliptic curve standard for request authentication via signature verification. The necessary steps in order to send a valid request to Orderly are provided below.
Orderly account ID
orderly-account-id.Access key (Orderly key)
orderly-key. To generate and add a new Orderly key, please refer to the documentation.
You can also get Orderly keys from frontend builders like WOOFi Pro.Timestamp
orderly-timestamp to the request header.Normalize request content
Generate a signature
ed25519 algorithm, and encode the signature in base64 url-safe format. Add the result to the request headers as orderly-signature.Content type
Content-Type header. All GET and DELETE requests use application/x-www-form-urlencoded. Any other method type uses application/json.Send the request
Content-Type, orderly-account-id, orderly-key, orderly-signature, orderly-timestamporderly-timestamp header has 300+ seconds difference from the API server time.
orderly-signature header that is generated from request parameters and signed with your Orderly secret key.
orderly-key header, and the orderly-key has to be added to the network via the Add Key functionality, matched with the account and is still valid (not expired yet).