This mini tutorial series shows how to access Tezos network from web browsers using JSOO, js_of_ocaml library. This is the 3rd tutorial. The previous tutorials are available at:
Structured value from Tezos RPC
In the last tutorial, we have got the balance of an account. Tezos account balance is returned as a JSON string like "12345678"
. We used JS’s JSON parser _JSON##parse
to convert it to a JS string, then to an arbitrary precision integer Z.t
.