class Commodity \ CexGigahash

All implemented interfaces:
Currency, CurrencyInformation

Represents the CEX.io GHS commodity currency.

This is the base interface; other interfaces will provide additional functionality as necessary. (from Currency)


Method Summary

Name Description
getCode() Get the unique three-letter currency code for this currency, e.g. 'btc' or 'usd'. Must be lowercase. This is not visible to users.
getName() Get the English name of this currency, e.g. "Bitcoin" or "United States Dollar".
getURL()

Inherited Method Summary

Name Description
getAbbr() Get the currency code visible to users, which can be of any length and does not need to be unique (but should be). Often just the uppercase of #getCode. (from CommodityCurrency)
getCommunityLinks() By default, commodity currencies do not have any community links. (from CommodityCurrency)
getCurrency() Get the Currency for this CurrencyInformation. (from CommodityCurrency)
isCommodity() (from CommodityCurrency)
isCryptocurrency() (from CommodityCurrency)
isFiat() (from CommodityCurrency)

public function getCode()

Get the unique three-letter currency code for this currency, e.g. 'btc' or 'usd'. Must be lowercase. This is not visible to users. (from getCode)


public function getName()

Get the English name of this currency, e.g. "Bitcoin" or "United States Dollar". (from getName)


public function getURL()

Returns:
a URL for more information about this currency, or null if there is none