Kucoin / kucoin-php-sdk

PHP SDK for KuCoin API.
https://docs.kucoin.com
MIT License
79 stars 41 forks source link

currency get detail on another chain #109

Closed mahdi4187 closed 3 months ago

mahdi4187 commented 3 years ago

$detail = Kucoin::currency()->getDetail('ETH', 'KCC');

array:12 [▼ "currency" => "ETH" "name" => "ETH" "fullName" => "Ethereum" "precision" => 8 "confirms" => 1 "contractAddress" => "" "withdrawalMinSize" => "0.01" "withdrawalMinFee" => "0.004" "isWithdrawEnabled" => true "isDepositEnabled" => true "isMarginEnabled" => true "isDebitEnabled" => true ]

$detail = Kucoin::currency()->getDetail('ETH');

array:12 [▼ "currency" => "ETH" "name" => "ETH" "fullName" => "Ethereum" "precision" => 8 "confirms" => 12 "contractAddress" => "" "withdrawalMinSize" => "0.01" "withdrawalMinFee" => "0.004" "isWithdrawEnabled" => true "isDepositEnabled" => true "isMarginEnabled" => true "isDebitEnabled" => true ]

The withdrawalMinFee did not change

codewc commented 3 years ago

$detail = Kucoin::currency()->getDetail('ETH', 'KCC');

array:12 [▼ "currency" => "ETH" "name" => "ETH" "fullName" => "Ethereum" "precision" => 8 "confirms" => 1 "contractAddress" => "" "withdrawalMinSize" => "0.01" "withdrawalMinFee" => "0.004" "isWithdrawEnabled" => true "isDepositEnabled" => true "isMarginEnabled" => true "isDebitEnabled" => true ]

$detail = Kucoin::currency()->getDetail('ETH');

array:12 [▼ "currency" => "ETH" "name" => "ETH" "fullName" => "Ethereum" "precision" => 8 "confirms" => 12 "contractAddress" => "" "withdrawalMinSize" => "0.01" "withdrawalMinFee" => "0.004" "isWithdrawEnabled" => true "isDepositEnabled" => true "isMarginEnabled" => true "isDebitEnabled" => true ]

The withdrawalMinFee did not change

Hi, The withdrawalMinFees is a returned configuration parameter. Is there any difference between your expected value and the actual return value?

mahdi4187 commented 3 years ago

no withdrawalMinFees in kcc 0.001

but return 0.004

hhxsv5 commented 3 years ago

try $detail = Kucoin::currency()->getDetail('ETH', 'kcc')

ISAAC-XXYYZZ commented 3 months ago

Since this issue has already been addressed and there have been no updates for a long time, we will now close it. If you need any further assistance, feel free to ask!