edge / index-utils Goto Github PK
View Code? Open in Web Editor NEWUtility library for XE index API
License: Other
Utility library for XE index API
License: Other
The API makes the online field available. Yet the field is not available in the Session type.
https://index.xe.network/session/xe_7a65d81dC21E87d593aC30DFe0AcbC2622bbdAE8
Line 48 in ab8a55c
Problem:
Currently, there is no easy way to fetch historical exchange rate data from the official index utils API.
Rationale:
There are several potential use cases. I'd to highlight this use case one: A node owner might need historical exchange rate data of node earnings for tax purposes. Governments still want earnings from crypto to be paid in FIAT so it's good to allow compatible interaction.
Solution:
The index-utils already supports fetching the current exchange rate via exchangeRate.current():
https://github.com/edge/index-utils#exchange-rate
The SDK could be extended with exchangeRate.historical(date) or a similar function name.
As with recent index/wallet/explorer updates, there is now an option to hide released stakes. Whilst it does currently work still in index-utils, it would be best to add the hideReleased
param into the options.
https://github.com/edge/index/pull/154
edge/wallet#238
edge/explorer#161
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.