Move.

Post

Share your knowledge.

elfDani.
Jan 29, 2025
Expert Q&A

Why does `sui client gas` show no gas coins for my address?

I'm using the SUI CLI and when I run the command sui client gas, I get a message saying 'No gas coins are owned by this address'. I get an address when I run sui client active-address. How can I resolve this and see the gas for an account?

  • Move CLI
3
2
Share
Comments
.

Answers

2
BlueEyedCrypto.
Jan 30 2025, 07:06

sui client gas displays the gas for the active address. You might need to ensure that the address seen using sui client active-address actually holds any gas coins. Additionally, you can specify an address directly in the command using sui client gas 0x... to see the gas for a specific address.

3
Best Answer
Comments
.
Pluto Dev👽.
Jan 30 2025, 07:17

It's also a good idea to check the environment you're interacting with using sui client envs, as it might affect how your commands behave or what accounts are being accessed.

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 CampaignJune
We use cookies to ensure you get the best experience on our website.
More info