Coinmonks
Published in

Coinmonks

How to Get the Latest Price of ETH in JPY using Chainlink Price Feed

Hi I’m Yuichi, a Japanese web developer who just got interested in Ethereum and smart contracts, so I would really appreciate if you could correct me or suggest better ways. Thank you in advance.

Today, I want to show you how I get the latest price of ETH in JPY using Chainlink Price Feed.

First, you import AggregatorV3Interface and declare variables.

You provide the addresses of each contract. You can find each address in Chainlink doc in the link below.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
yuichiro aoki

yuichiro aoki

Ethereum Enthusiast & Software Developer