Вверх ↑
Ответов: 667
Рейтинг: 140
#1: 2022-08-08 06:35:44 ЛС | профиль | цитата
faniss, В документации по ссылке из твоего первого сообщения написано, что подписываемое сообщение (message) должно состоять из timestamp + method + requestPath + body
А не как не 02c23b2b028e53251e615eb1a686e8b3e1ce735b7e0fa3fdf0b45772eb9d1bf9061a7881b83f6a6c26fa9810a9b17f91756f829956e193e04217626e88b34e4e

A SHA-256 HMAC is created using the API key secret and the message timestamp + method + requestPath + body defined as follows:
• timestamp: The DYDX-TIMESTAMP header, which must be within 30 seconds of the server time.
• method: The name of the HTTP method used, uppercase (e.g. GET).
• requestPath: The API endpoint path, beginning with /v3/.
• body: The HTTP request body (normally empty for GET and DELETE).

faniss писал(а):
откуда там тире у них появились в base64?

Неоткуда им там взяться - https://ru.wikipedia.org/wiki/Base64
карма: 14

0
Редактировалось 1 раз(а), последний 2022-08-08 06:50:21