Move.

Post

Share your knowledge.

Raju.
Nov 27, 2024
Expert Q&A

Is there a function or module in Move to get coin balances from a specific SUI address?

Is there a function or module in Move to get coin balances from a specific SUI address?

  • Move CLI
  • Move
2
2
Share
Comments
.

Answers

2
LargeCappWithTwo.
Nov 28 2024, 00:52

You can obtain the coin balance for an address externally by querying a full node directly via RPC/GraphQL or by using a client through an SDK.

1
Best Answer
Comments
.
andreweth..
Nov 27 2024, 21:45

You cannot do this directly from Move since smart contracts on Sui do not have direct access to global storage like in Solidity/EVM.

2
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info