shrub/mar/bit/accounts.hoon

22 lines
519 B
Plaintext
Raw Normal View History

2015-05-29 02:07:03 +03:00
:: this mark is used to receive a confirmed transaction
::
2015-12-20 14:48:17 +03:00
:::: /hoon#bit-accounts#mar
2015-05-29 02:07:03 +03:00
::
/? 310
/- bit-api
2015-05-29 02:07:03 +03:00
!:
[bit-api .]
2015-05-29 02:07:03 +03:00
|_ bit-accounts
::
++ grab :: converter arm
|%
++ noun bit-accounts :: clam from noun
2015-12-20 23:50:45 +03:00
++ json |= jon/^json ^- bit-accounts
2015-05-29 02:07:03 +03:00
~| jon
%- need %. jon
=> jo
2015-12-20 14:48:17 +03:00
=+ bal=(ot amount#so currency#(cu cass sa) ~)
(ot accounts#(ar (ot id#so name#so balance#bal ~)) ~)
2015-05-29 02:07:03 +03:00
--
--