2019-05-16 21:44:55 +03:00
|
|
|
:: list of ethereum transactions
|
|
|
|
::
|
2020-12-09 04:57:41 +03:00
|
|
|
/+ *ethereum
|
2019-05-16 21:44:55 +03:00
|
|
|
=, format
|
|
|
|
=, rpc
|
|
|
|
=, mimes:html
|
|
|
|
::
|
|
|
|
|_ txs=(list transaction)
|
|
|
|
++ u-parser
|
|
|
|
%- cook :_ nuck:so
|
|
|
|
|= =coin
|
|
|
|
?> ?=(%$ -.coin)
|
2020-12-02 11:47:29 +03:00
|
|
|
?> ?=(%u (end 3 p.p.coin))
|
2019-05-16 21:44:55 +03:00
|
|
|
`@`q.p.coin
|
|
|
|
::
|
|
|
|
++ grab
|
|
|
|
|%
|
|
|
|
++ mime
|
2020-10-04 09:34:10 +03:00
|
|
|
|= (pair mite octs)
|
2019-05-16 21:44:55 +03:00
|
|
|
=/ wan=wain (to-wain q.q)
|
|
|
|
?> ?=(^ wan)
|
|
|
|
%+ murn t.wan
|
|
|
|
|= tx=@t
|
|
|
|
^- (unit transaction)
|
|
|
|
?: =('' tx)
|
|
|
|
~
|
|
|
|
:- ~
|
|
|
|
%+ rash tx
|
|
|
|
;~ (glue com)
|
|
|
|
u-parser
|
|
|
|
u-parser
|
|
|
|
u-parser
|
|
|
|
;~(pfix (jest '0x') hex)
|
|
|
|
u-parser
|
|
|
|
;~(pfix (jest '0x') hex)
|
|
|
|
u-parser
|
|
|
|
==
|
|
|
|
++ noun (list transaction)
|
|
|
|
--
|
|
|
|
::
|
|
|
|
++ grow
|
|
|
|
=> v=.
|
|
|
|
|%
|
|
|
|
++ mime
|
|
|
|
=> v
|
|
|
|
:- /text/plain
|
|
|
|
%- as-octs %- of-wain
|
|
|
|
=- (weld - '' ~)
|
|
|
|
:- 'nonce,gas-price,gas,to,value,data,chain-id'
|
|
|
|
%+ turn txs
|
|
|
|
|= transaction
|
|
|
|
^- @t
|
|
|
|
%+ rap 3
|
|
|
|
:~ (scot %ui nonce)
|
|
|
|
','
|
|
|
|
(scot %ui gas-price)
|
|
|
|
','
|
|
|
|
(scot %ui gas)
|
|
|
|
','
|
|
|
|
(crip (address-to-hex to))
|
|
|
|
','
|
|
|
|
(scot %ui value)
|
|
|
|
','
|
|
|
|
(crip (prefix-hex (render-hex-bytes (max 1 (met 3 data)) `@`data)))
|
|
|
|
','
|
|
|
|
(scot %ux chain-id)
|
|
|
|
==
|
|
|
|
--
|
|
|
|
++ grad %mime
|
|
|
|
--
|