diff --git a/pkg/arvo/lib/ethereum.hoon b/pkg/arvo/lib/ethereum.hoon index bc8592270..6cf5711eb 100644 --- a/pkg/arvo/lib/ethereum.hoon +++ b/pkg/arvo/lib/ethereum.hoon @@ -483,7 +483,7 @@ [%eth-get-filter-changes fid=@ud] [%eth-get-transaction-by-hash txh=@ux] [%eth-get-transaction-count adr=address =block] - [%eth-get-balance adr=address] + [%eth-get-balance adr=address =block] [%eth-get-transaction-receipt txh=@ux] [%eth-send-raw-transaction dat=@ux] == @@ -720,7 +720,10 @@ == :: %eth-get-balance - ['eth_getBalance' (tape (address-to-hex adr.req)) ~] + :- 'eth_getBalance' + :~ (tape (address-to-hex adr.req)) + (block-to-json block.req) + == :: %eth-get-transaction-by-hash ['eth_getTransactionByHash' (tape (transaction-to-hex txh.req)) ~] diff --git a/pkg/arvo/lib/ethio.hoon b/pkg/arvo/lib/ethio.hoon index 46926ecd9..0e4c7793e 100644 --- a/pkg/arvo/lib/ethio.hoon +++ b/pkg/arvo/lib/ethio.hoon @@ -283,7 +283,7 @@ ^- form:m ;< =json bind:m %^ request-rpc url `'balance' - [%eth-get-balance address] + [%eth-get-balance address [%label %latest]] %- pure:m (parse-eth-get-balance:rpc:ethereum json) --