-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Proposal getNetworkProperties #54
Conversation
Should we add the currency and harvesting name? |
@Vektrat The current implementation formats mosaic ids differently to other endpoints: Example:
currencyMosaicId: "0x621E'C5B4'0385'6FC2"
id : "621EC5B403856FC2" I believe that SDKs devs would appreciate if the currencyMosaicId could be parsed to the standard format. |
@fboucquez I'd not add aliases info to this endpoint. Note that Secondly, another reason not to add it by default is that using the mosaic id is enough to issue all kind of transactions, and does not generate extra receipts. If needed, the alias can still be retrieved by asking it to REST with a second call. Finally, note that the network / harvest mosaic does not require to be aliased to make the network operative. Some networks could even decide to disable the alias plugin from their networks completely. |
sadly we are outputting a config file here, which was probably filled by a human, it's one of the caveats of having to fetch a file and show it as is, instead of accessing some kind of endpoint that provides this information to the REST server i'd leave it as it is now to avoid having a layer of specific parsing, the same happens with values such as anyway will this endpoint be used by SDKs? i expected this to be used by more specific applications that would access the REST directly (like the fees) |
Suggestion for symbol/catapult-rest#64
Note for SDK devs: Do not implement until REST devs confirm that adding this endpoint is feasible.