Is there a way to getTokenPrice for SOL/Solana native token?
For example I can get WETH price with:
Moralis.Web3API.token.getTokenPrice({
address: โ0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2โ,
});
Thanks!
-m
Is there a way to getTokenPrice for SOL/Solana native token?
For example I can get WETH price with:
Moralis.Web3API.token.getTokenPrice({
address: โ0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2โ,
});
Thanks!
-m
there there is an ERC20 token for Solana, then you can use that contract address
Are you aware of an ERC20 thatโs has a stable reference to SOL?
I donโt know, it looks like I couldnโt find on a google search. If there isnโt such a token in a liquidity pool, then we can not get the price now.
Thanks for your fast replies
Sucks that it appears it canโt be done at this time.