btc-provider-lib: add top-level jet hints
/- bp=btc-provider, json-rpc
/+ bc=bitcoin
-^?
-::=< [sur .]
-::=, sur
+~% %btc-provider-lib ..part ~
|%
:: +from-epoch: time since Jan 1, 1970 in seconds.
::
api-url.host-info ract
::
++ rpc
+ ~/ %rpc
=, dejs:format
|%
++ parse-result
%get-block-info
[id.res (block-info res.res)]
==
+ ::
++ address-info
%- ot
:~ [%address (cu from-cord:adr:bc so)]
[%used bo]
[%block ni]
==
+ ::
++ utxo
%- ot
:~ ['tx_pos' ni]
[%value ni]
[%recvd (cu from-epoch ni)]
==
+ ::
++ tx-vals
%- ot
:~ [%included bo]
[%inputs (ar tx-val)]
[%outputs (ar tx-val)]
==
+ ::
++ tx-val
%- ot
:~ [%txid (cu from-cord:hxb:bc so)]
[%address (cu from-cord:adr:bc so)]
[%value ni]
==
+ ::
++ raw-tx
%- ot
:~ [%txid (cu from-cord:hxb:bc so)]
[%rawtx (cu from-cord:hxb:bc so)]
==
+ ::
++ broadcast-tx
%- ot
:~ [%txid (cu from-cord:hxb:bc so)]
[%broadcast bo]
[%included bo]
==
+ ::
++ block-info
%- ot
:~ [%block ni]
