MockingMagician / coinbase-pro-sdk

Coinbase Pro API SDK - Communicate easily with the Coinbase Pro API in PHP
https://mockingmagician.github.io/coinbase-pro-sdk/
MIT License
22 stars 8 forks source link

Products Api Not working its shows error #33

Closed robod9590 closed 2 years ago

robod9590 commented 2 years ago

$api = CoinbaseFacade::createDefaultCoinbaseApi($endpoint, $api_key, $api_secret, $passphrase);

//APis

$api->products()->getProducts('BTC-USD');

$api->products()->getSingleProduct('BTC-USD');

Error: "message": "Undefined array key \"base_min_size\"",

file": "vendor\mocking-magician\coinbase-pro-sdk\src\Functional\DTO\ProductData.php",

MockingMagician commented 2 years ago

Hi @robod9590, fix has been pushed about your issue. You can update your package to the latest version.

See you !