Post
Topic
Board Announcements (Altcoins)
Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts
by
Dunkelheit667
on 26/07/2016, 18:31:05 UTC
Btw. how can I check the balance for my location?
Code:
W.user_getLocationBalance()
Shows 0, but there should be a balance since I've topped up the location.

    city="q=Nanjing,China"
    WEATHER.user_getLocationBalance(city)
        5000000000000000000
    fromWei(WEATHER.user_getLocationBalance(city))
        5

Thank you, this did the trick. Just tested with your new contract v0.5.9, working as expected. Smiley