Reputation: 21
Our cryptocurrency trades at Waves platform against BTC. How can i fetch the market value of my cryptocurrency using my PHP program ? Any API available for the same ?
Upvotes: 0
Views: 115
Reputation: 58
You can use this one library for PHP development: https://github.com/deemru/WavesKit Or you can use public API of Waves.Exchange matcher: https://matcher.waves.exchange/
Example of request URL to get the last price and other info in USDN/WAVES pair: https://matcher.waves.exchange/matcher/orderbook/DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p/WAVES/status
Upvotes: 2