Quantcast
Channel: Active questions tagged rustc - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 37

How to get Mint Address of of SPL token using associated token account? without rpc call

$
0
0

I can get an associated token account knowing the mint address and wallet address with spl_associated_token_account::get_associated_token_address function

But is it possible to get a mint address, when knowing only the wallet address and associated_token_address?

for example, if we knowthis associated token account CfUzkuDDdUvoBsK4vr134DV7Tb3CADHtsPL4Zs4UuAQs andits owner's wallet address 7REXxsREHYPbMrxShwRjqAhS5VxWpoCCkzfRicgxrvek

can we get the usdc mint address https://solscan.io/token/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v ?

or somehow to understand that this associated token account is an account for usdc?

Have to avoid rpc calls for speed


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>