Closed yamen closed 10 months ago
For example client.rest.address.listAddresses sends to https://api.coinbase.com/api/v3/accounts/:id/addresses instead of using the SIWC base url (https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-addresses).
client.rest.address.listAddresses
https://api.coinbase.com/api/v3/accounts/:id/addresses
Using the custom request works:
client.rest.coinbaseRequest({ baseURL: clientAdvanced.url.REST_SIWC, method: "get", url: `/accounts/${USDC_ACCOUNT}/addresses`, });
I believe a similar thing happened for transactions, all the SIWC APIs under /accounts might be affected.
transactions
/accounts
I appreciate you bringing this to my attention. Resolved in version 2.1.0
For example
client.rest.address.listAddresses
sends tohttps://api.coinbase.com/api/v3/accounts/:id/addresses
instead of using the SIWC base url (https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-addresses).Using the custom request works:
I believe a similar thing happened for
transactions
, all the SIWC APIs under/accounts
might be affected.