gateio / rest-v4

gateio rest api v4
20 stars 7 forks source link

gap between request Timestamp and server time exceeds 60 #8

Open ketancts opened 2 years ago

ketancts commented 2 years ago

Hello Gate.io Support Team,

1st I'm following below URL which is official documentation provided by Gate.io

https://www.gate.io/docs/apiv4/en/#apiv4-signed-request-requirements

I'm running below API in Postman and I'm getting below response. Can you please help me how to sign the API request.

Response

I'm getting below error while trying to fetch data from gate.io. How can I get the server timestamp?

{ "label": "REQUEST_EXPIRED", "message": "gap between request Timestamp and server time exceeds 60" }

Also, I would like to know that from where I can get the gate.io server time?

Is there any dedicated rest API endpoint available which will gives us server time stamp like other exchanges are providing?

Like provided by other wallet / exchange

https://www.okex.com/api/general/v3/time https://api.binance.com/api/v3/time https://api.kucoin.com/api/v1/timestamp https://api.coinbase.com/v2/time https://otc.ftx.com/api/time

brook330 commented 1 month ago

I got the same problem,how to fix it ?