# Typos, potential improvement Godot wallet docs

**URL:** <https://forum.heroiclabs.com/t/typos-potential-improvement-godot-wallet-docs/2671>\
**Category:** Documentation\
**Tags:** sdk-godot, docs\
**Created:** [May 26, 2022, 2:57pm UTC](https://forum.heroiclabs.com/t/typos-potential-improvement-godot-wallet-docs/2671 "2022-05-26T14:57:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luiscesjr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/luiscesjr/32/1155_2.png) [@luiscesjr](https://forum.heroiclabs.com/u/luiscesjr)\
**Post date:** [May 26, 2022, 2:57pm UTC](https://forum.heroiclabs.com/t/typos-potential-improvement-godot-wallet-docs/2671/1 "2022-05-26T14:57:54Z")

</div>

Hi, in the wallet access section of the Godot Sdk docs, [here](https://heroiclabs.com/docs/nakama/client-libraries/godot/#wallets), it states:

```auto
var account : NakamaAPI.ApiAccount = yield(client.get_account_async(session), "completed")
var wallet = JSON.parse(account.wallet) #Missing result, returns a simpler json
for currency in wallet #missing :
    Print("%s, %s" % [currency, wallet[currency].string(int from)]) #I'm not sure here, but int from is deprecated? Also Print is with a capital P, should be print.

```

But apart from some typos, it could be simplified and also added error checking:

```auto
	var account : NakamaAPI.ApiAccount = yield(client.get_account_async(session), "completed")
	if account.is_exception():
		print("Error: ", account)
	var wallet = JSON.parse(account.wallet).result
	if wallet.empty():
		print("Empty Json")
	else:
		print(wallet["Your_Key_Here"]) #Simple to access whatever value you need from the wallet, if the wallet is complex, then do something else like the loop or whatever.

```

The conclusion of my code may be too simple, but works. 🙂
