getChainlinkPriceFeedPair(pair)
takes pair (supported by Chainlink) as an argument and returns the latest price for an asset according to the Chainlink's DEFI Price Feeds network.getChainlinkPriceFeedPair
pair: string
; the assets pair string supported by Chainlink