urbit/base/mar/bit-accounts/door.hook
2015-05-28 16:07:03 -07:00

21 lines
513 B
Plaintext

:: this mark is used to receive a confirmed transaction
::
:::: /hook/door/bit-accounts/mar
::
/? 310
/- *bit-api
!:
|_ bit-accounts
::
++ grab :: converter arm
|%
++ noun bit-accounts :: clam from noun
++ json |= jon=^json ^- bit-accounts
~| jon
%- need %. jon
=> jo
=+ bal=(ot amount/so currency/(cu cass sa) ~)
(ot accounts/(ar (ot id/so name/so balance/bal ~)) ~)
--
--