NAME

Web3::Tiny::RPC - Minimal JSON-RPC 2.0 client for Ethereum nodes

SYNOPSIS

use Web3::Tiny::RPC;

my $rpc = Web3::Tiny::RPC->new(url => 'https://eth.llamarpc.com');
my $block_number = $rpc->call('eth_blockNumber');

DESCRIPTION

Thin wrapper over HTTP::Tiny + JSON::PP (both Perl core) that speaks JSON-RPC 2.0 to any standard Ethereum JSON-RPC endpoint. call() dies on transport errors or JSON-RPC error responses.