我正在尝试定义coinbase客户端,但是API始终会发送auth错误。
密钥和机密是API仪表板上的密钥和机密,已选中。 没有ipwhitelist。
$configuration = Configuration::apiKey("xx", "xx");
$this->client = Client::create($configuration);
我收到以下错误消息:
Fatal error: Uncaught GuzzleHttp\Exception\ClientException:
Client error: `GET https://api.coinbase.com/v2/accounts/` resulted in a
`401 Unauthorized` response: {"errors":
[{"id":"authentication_error","message":"invalid signature"}]}