NAME
Net::Async::Blockchain::Client::RPC - Async RPC Client.
SYNOPSIS
Objects of this type would not normally be constructed directly.
DESCRIPTION
Centralize all asynchronous RPC calls.
max_connections
https://metacpan.org/pod/Net::Async::HTTP#max_connections_per_host-=%3E-INT
returns the configured max_connections value or DEFAULT_MAX_CONNECTIONS
http_client
Create an Net::Async::HTTP instance, if it is already defined just return the object
configure
Any additional configuration that is not described on IO::Async::Notifier must be included and removed here.
endpoint
timeout
connection timeout (seconds)rpc_user
RPC user. (optional, default: undef)rpc_password
RPC password. (optional, default: undef)
_request
Use any argument as the method parameter for the client RPC call
method
params
(any parameter required by the RPC call)
Future - node response as decoded json