issue-tracker icon indicating copy to clipboard operation
issue-tracker copied to clipboard

Moralis Home Page Snippets

Open xGGCrypto opened this issue 3 years ago • 1 comments

On the homepage under the DEFI Dashboard, it shows these snippets of code.

// get TVL
Moralis.Web3.getTVL(address)

// get P&L
Moralis.Web3.getPnL(address)

// get Defi Positions (liquidity, lending, borrowing)
Moralis.Web3.getDefiPosition(address)

None of these code are in documentation. When you try to use them, it will say Unhandled Rejection (TypeError): Moralis.Web3.getTVL is not a function

xGGCrypto avatar Aug 04 '21 17:08 xGGCrypto

Bump :)

EricForgy avatar Sep 27 '21 03:09 EricForgy