Convert coin address from CoinType #292
Unanswered
Drizzle210
asked this question in
Questions
Replies: 2 comments
-
Retrieving balances of a coinBalances of a coin can be tracked specifically by the user who's balance it is, rather than an address of the token: So, if my account was coin::balance<0x1::aptos_coin::AptosCoin>(0x12345) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not possible. a CoinType has to be passed in. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
I want to get balance but can't get CoinType from coin address ? How can i do it ?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
Windows
Which SDK or tool are you using? (if any)
TypeScript SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions