Quantcast
Channel: Why does `solana program show ` and `solana accounts ` return different values for the `data length` and `balance` fields - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 2

Why does `solana program show ` and `solana accounts ` return different values for the `data length` and `balance` fields

$
0
0

Originally asked in the SolanaU discord.

Is there a reason why the Solana CLI will return different values for solana program show and solana account?

solana program show 3KS2k14CmtnuVv2fvYcvdrNgC94Y11WETBpMUGgXyWZL output is

enter image description here

While that of solana account 3KS2k14CmtnuVv2fvYcvdrNgC94Y11WETBpMUGgXyWZL

enter image description here

To add to this, if the difference in the balance has to do something with rent and the data field has something to do with length in memory vs length for storage, shouldn't the fields labels communicate this clearly?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images