gagliardetto / solana-go

Go SDK library and RPC client for the Solana Blockchain
Apache License 2.0
823 stars 246 forks source link

how to get the balance amount of a contract token? #146

Open yangyile1990 opened 1 year ago

yangyile1990 commented 1 year ago

wallet address is: 7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932

contract address is: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

I want get the balance of contract Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB in wallet 7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932

I want get the balance of contract EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v in wallet 7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932

show me the code.

Your sdk is too hard to use.

pengbotter commented 6 months ago

现在知道怎么拿到这条数据了吗?