Make getTLDs
request more lightweight by adding a new parameter called includeNumberOfAliases
#827
Labels
getTLDs
request more lightweight by adding a new parameter called includeNumberOfAliases
#827
Is your feature request related to a problem? Please describe.
Currently, the
getTLDs
request shows all available TLDs registered onchainThe issue is that that each TLD includes the number of aliases registered with it by default
This is a pretty heavy operation that should be optimized by optionally showing the numberOfAliases
See that
requestProcessingTime
shows the queries lasted almost 3 seconds, there has been cases where it lasted up to 5 secondsDescribe the solution you'd like
I think there should be a new parameter for actually not showing the number aliases
Something like this:
As an example, if the user set that new parameter to
false
, number of aliases will not be shownAdditional context
By default this parameter should be
true
in order to prevent breaking changes on multiple DApps that may use this feature.Currently i inspected the code on SignumSwap and this is the result:
SignumSwap makes that request, but does not use the
numberOfAliases
propertySecond Additional context
Most wallets may not use that property at all. Example: Signum Mobile Wallet will not use the
numberOfAliases
propertyThe text was updated successfully, but these errors were encountered: