CoinPayment
CoinPayment copied to clipboard
Chain coin Icons are in a different directory in Coinpayments.net
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';
The CoinPayments 'rates' API call returns the coin image URL so they can get the right image URL for the coin from there.