Just an observation to make translating lovelace to ADA very quick when using the payment address query command

I don’t know about the mainnet, but on the test net if you do the command…

cardano-cli shelley query utxo --address $(cat payment.addr) --testnet-magic 1097911063

you get output that looks like…

I don’t know if this works for all terminals, but if you want a quick way to convert from Lovelace to ADA, the second ‘l’ in ‘Lovelace’ in the above picture is always in 6th position from the right end of the line with dashes.
So if you trace the second ‘l’ down to the numerical part of the wallet amount which in this case is the number 8, 8 and all the numerals to the right represent the decimal part of ADA in your wallet and anything to the left is the whole number part of ADA in your wallet;i.e.,
Love.lace is of the form ‘w.f’ where ‘w’ is a whole number part and ‘.f’ is a proper fraction, so in the above example, we have 899.825567 ADA in the wallet.

lol…something small, but makes life a little easier. :wink:

2 Likes

Haha, nice observation. Thanks

1 Like