Move.

Post

Share your knowledge.

Raju.
Raju158
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.

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148Posts231Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJuly