shrub/sur/bit-api.hoon

19 lines
453 B
Plaintext
Raw Normal View History

2015-05-29 02:07:03 +03:00
|%
++ bit-any
2015-12-14 10:58:14 +03:00
$% {$bit-get-token bit-get-token}
2015-12-10 12:17:19 +03:00
{$bit-api-call tok+@t bit-api-call}
2015-05-29 02:07:03 +03:00
==
++ bit-api-call
2015-12-14 10:58:14 +03:00
$% {$send bit-send}
2015-12-10 12:17:19 +03:00
{$txt-send to+@t btc+@t}
{$buy amount+@t currency+@t}
{$sell amount+@t currency+@t}
{$list $~}
2015-05-29 02:07:03 +03:00
==
2015-12-10 12:17:19 +03:00
++ 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}})
2015-05-29 02:07:03 +03:00
--