I know that etherscan shows the total cost of a transaction both in eth and in US dollars.
Is there any api of any kind to be able to get instant value of eth when I send a transaction?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityI know that etherscan shows the total cost of a transaction both in eth and in US dollars.
Is there any api of any kind to be able to get instant value of eth when I send a transaction?
Your best choice atm is to use coinmarketcap api. It gathers data from many different markets and provides an average price market. Alternatively, you can make use of markets APIs, like Kraken, Coinbase, etc .. Hope it helps.