如何使用java生成签名

如何使用java生成签名,我生成之后发送请求一直是
{“code”:-2015,“msg”:“Invalid API-key, IP, or permissions for action, request ip: xxxxxxxxxxx”}

参考一下 demo https://github.com/Binance-docs/Binance_Futures_Java/blob/48dffefe0452d9092207e6bbd686c52a3b9c7a0f/src/main/java/com/binance/client/impl/RestApiRequestImpl.java#L63

不过你这个问题应该是 API key/secret 生成在开通合约之前?

1 Like