CoinPayment icon indicating copy to clipboard operation
CoinPayment copied to clipboard

Chain coin Icons are in a different directory in Coinpayments.net

Open goldsvetlobby opened this issue 3 years ago • 1 comments

The Chain icons are not showing because these icons are in the /images/chained folder

How can I call them ? the following in the ajax controller is defined as $icon how to add another variable? I tried @icon1 but no luck!!!

$icon = $logos[$value['name']] ?? 'https://www.coinpayments.net/images/coins/' . $img . '.png';

I suppose I need:

$icon = $logos[$value['name']] ?? 'https://www.coinpayments.net/images/coins/chained/' . $img . '.png';

goldsvetlobby avatar Jul 30 '21 06:07 goldsvetlobby

The CoinPayments 'rates' API call returns the coin image URL so they can get the right image URL for the coin from there.

Crypto2 avatar Nov 24 '21 21:11 Crypto2