-
Notifications
You must be signed in to change notification settings - Fork 198
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
EN-9416/all-esdt-api #2938
EN-9416/all-esdt-api #2938
Conversation
api/address/routes.go
Outdated
@@ -23,6 +23,7 @@ const ( | |||
getESDTTokens = "/:address/esdt" | |||
getESDTBalance = "/:address/esdt/:tokenIdentifier" | |||
getESDTNFTData = "/:address/esdtnft/:tokenIdentifier/nonce/:nonce" | |||
getAllESDTData = "/:address/completeEsdts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove the /:address/esdt
and use this one instead? I don't see why we would keep 2 endpoints, one that contains less info, and one that contains more info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
api/address/routes.go
Outdated
@@ -23,6 +23,7 @@ const ( | |||
getESDTTokens = "/:address/esdt" | |||
getESDTBalance = "/:address/esdt/:tokenIdentifier" | |||
getESDTNFTData = "/:address/esdtnft/:tokenIdentifier/nonce/:nonce" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename esdtnft
to simply nft
? The longer version would translate to Elrond Standard Digital Token Non Fungible Token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
4c61ffd
all new api to get all information from a given user on esdts