Hey everybody,
I was wondering if there exists an API for MetaMask’s new portfolio feature? I.e. if you want to develop a dApp that lets users view what tokens they have on different chains, their balances etc?
Hey everybody,
I was wondering if there exists an API for MetaMask’s new portfolio feature? I.e. if you want to develop a dApp that lets users view what tokens they have on different chains, their balances etc?
Hello @Westcoaster! Welcome to MetaMask community !
If we look at which api requests are coming from Portfolio APP, we will see the following:
The response that comes to the client:
This is a fully working API from ConsenSys - Codefi Fundamental API.
You can already use to develop your decentralized applications
Hey @snwlprd.eth thanks for the hint, this sounds very interesting. I’ll have a look at the Codefi API.
Hi @Westcoaster !,
The Portfolio API’s are not publicly available, but they might be in the future. you may be able to build out what you need using @snwlprd.eth 's recommendations.
yes i tried using this api and it works
@KBeeTheCapybara
Awesome! Thanks @snwlprd.eth for sharing !
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.