urbit/sur/bit-api.hoon
C. Guy Yarvin fc1068dfae Revert "Stripdown part 2."
This reverts commit afcc1cb9a80db3a687d7a2a1dc3bf1be38df5b68.
2016-01-25 16:52:58 -08:00

19 lines
453 B
Plaintext

|%
++ bit-any
$% {$bit-get-token bit-get-token}
{$bit-api-call tok/@t bit-api-call}
==
++ bit-api-call
$% {$send bit-send}
{$txt-send to/@t btc/@t}
{$buy amount/@t currency/@t}
{$sell amount/@t currency/@t}
{$list $~}
==
++ bit-send {adr/@uc btc/@t}
++ bit-ship-send {who/@p btc/@t}
++ bit-get-token {oat/@t {cid/@t sec/@t} red/purl}
++ bit-accounts (list {id/@t name/@t balance/{num/@t cur/term}})
--