New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unified Tokens & MetaESDTs #897
Unified Tokens & MetaESDTs #897
Conversation
collections
filter applied tests
withoutMetaESDT filter is applied
"withoutMetaESDT"
Codecov ReportBase: 27.84% // Head: 26.93% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## development #897 +/- ##
===============================================
- Coverage 27.84% 26.93% -0.91%
===============================================
Files 7 7
Lines 237 245 +8
Branches 8 8
===============================================
Hits 66 66
- Misses 163 171 +8
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
remove esdt service methods from spec tests
|
…int for 'withoutMetaESDT' parameter
…/github.com/ElrondNetwork/api.elrond.com into SERVICES-918-unified-tokens-and-meta-esd-ts
Reasoning
MetaESDT
has much more similarity to a payable token, rather than an NFTProposed Changes
FungibleESDT
andMetaESDT
MetaESDT
How to test (mainnet)
/tokens?includeMetaESDT=true
should return both tokens of typeFungibleESDT
andMetaESDT
/tokens?includeMetaESDT=true&type=MetaESDT
should return only tokens of typeMetaESDT
/tokens/:token
should return token details even if type =MetaESDT
/tokens/:token/accounts
should also return data for token collections of typeMetaESDT
and will return token identifier & attributes extra compared to a fungible token/tokens/:token/supply
should return supply information also for tokens of typeMetaESDT
. For now, all values are 0 but in the future, when the node saves collection supply, that information will be provided/accounts/:account/tokens?includeMetaESDT=true
should return both tokens of typeFungibleESDT
andMetaESDT
from the specified accountattributes
field in case ofMetaESDT
/accounts/:account/tokens?includeMetaESDT=true&type=MetaESDT
should return only tokens of typeMetaESDT
from the specified account/accounts/:account/tokens/:token
should return account token details also if its type isMetaESDT
/collections?excludeMetaESDT=true
should return only collections of typeNonFungibleESDT
andSemiFungibleESDT
(without the ones of typeMetaESDT
)/accounts/:account/roles/collections?excludeMetaESDT=true
should return only collections of typeNonFungibleESDT
andSemiFungibleESDT
(without the ones of typeMetaESDT
) from the specified account/accounts/:account/collections?excludeMetaESDT=true
should return only collections of typeNonFungibleESDT
andSemiFungibleESDT
(without the ones of typeMetaESDT
) from the specified account/accounts/:account/roles/tokens?includeMetaESDT=true
should return both tokens of typeFungibleESDT
andMetaESDT
from the specified account/accounts/:account/nfts?excludeMetaESDT=true
should return only NFTs of typeNonFungibleESDT
andSemiFungibleESDT
(without the ones of typeMetaESDT
) from the specified account