The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Async::Blockchain::Client::RPC::ETH - Async ETH RPC Client.

SYNOPSIS

    my $loop = IO::Async::Loop->new();

    $loop->add(
        my $http_client = Net::Async::Blockchain::Client::RPC::ETH->new(endpoint => 'http://127.0.0.1:8545', timeout => 100)
    );

    my $response = $http_client->accounts()->get;

DESCRIPTION

ETH RPC calls

call

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_call

Future

get_transaction_receipt

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionreceipt

Future

accounts

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_accounts

Future

get_block_by_hash

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash

Future

get_block_by_number

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbynumber

Future

get_last_block

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_blocknumber

Future

get_balance

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getbalance

Future

INHERITED METHODS

Net::Async::Blockchain::Client::RPC

configure, endpoint, http_client, max_connections, rpc_password, rpc_user, timeout

IO::Async::Notifier

add_child, adopt_future, adopted_futures, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent