=encoding utf8

=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with Net::Async::Blockchain::Client::RPC::Omni
at lib/Net/Async/Blockchain/Client/RPC/Omni.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

Net::Async::Blockchain::Client::RPC::Omni - Async Omnicore RPC Client.

=head1 SYNOPSIS

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

    $loop->add(
        my $http_client = Net::Async::Blockchain::Client::RPC::Omni->new(endpoint => 'http://127.0.0.1:8332', timeout => 100, rpc_user => 'test', rpc_password => 'test')
    );

    my $response = $http_client->get_omni_transaction('txid...')->get;

=head1 DESCRIPTION

Omnicore based RPC calls

=over 4

=back

=head2 get_omni_transaction

https://github.com/omnilayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md#omni_gettransaction

=over 4

=item * C<txid> the hash of the transaction to lookup

=back

L<Future> - detailed information about an Omni transaction

=head2 omni_getwalletbalances

https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md#omni_getwalletbalances

=over 4

=item * C<includewatchonly> include balances of watchonly addresses (default: false)

=back

L<Future> - list of the total token balances of the whole wallet.

=head1 INHERITED METHODS

=over 4

=item L<Net::Async::Blockchain::Client::RPC::BTC>

L<get_balance|Net::Async::Blockchain::Client::RPC::BTC/get_balance>, L<get_balances|Net::Async::Blockchain::Client::RPC::BTC/get_balances>, L<get_block|Net::Async::Blockchain::Client::RPC::BTC/get_block>, L<get_block_hash|Net::Async::Blockchain::Client::RPC::BTC/get_block_hash>, L<get_last_block|Net::Async::Blockchain::Client::RPC::BTC/get_last_block>, L<get_raw_transaction|Net::Async::Blockchain::Client::RPC::BTC/get_raw_transaction>, L<get_transaction|Net::Async::Blockchain::Client::RPC::BTC/get_transaction>, L<list_by_addresses|Net::Async::Blockchain::Client::RPC::BTC/list_by_addresses>, L<validate_address|Net::Async::Blockchain::Client::RPC::BTC/validate_address>

=item L<Net::Async::Blockchain::Client::RPC>

L<configure|Net::Async::Blockchain::Client::RPC/configure>, L<endpoint|Net::Async::Blockchain::Client::RPC/endpoint>, L<http_client|Net::Async::Blockchain::Client::RPC/http_client>, L<max_connections|Net::Async::Blockchain::Client::RPC/max_connections>, L<rpc_password|Net::Async::Blockchain::Client::RPC/rpc_password>, L<rpc_user|Net::Async::Blockchain::Client::RPC/rpc_user>, L<timeout|Net::Async::Blockchain::Client::RPC/timeout>

=item L<IO::Async::Notifier>

L<add_child|IO::Async::Notifier/add_child>, L<adopt_future|IO::Async::Notifier/adopt_future>, L<adopted_futures|IO::Async::Notifier/adopted_futures>, L<can_event|IO::Async::Notifier/can_event>, L<children|IO::Async::Notifier/children>, L<configure_unknown|IO::Async::Notifier/configure_unknown>, L<debug_printf|IO::Async::Notifier/debug_printf>, L<get_loop|IO::Async::Notifier/get_loop>, L<invoke_error|IO::Async::Notifier/invoke_error>, L<invoke_event|IO::Async::Notifier/invoke_event>, L<loop|IO::Async::Notifier/loop>, L<make_event_cb|IO::Async::Notifier/make_event_cb>, L<maybe_invoke_event|IO::Async::Notifier/maybe_invoke_event>, L<maybe_make_event_cb|IO::Async::Notifier/maybe_make_event_cb>, L<new|IO::Async::Notifier/new>, L<notifier_name|IO::Async::Notifier/notifier_name>, L<parent|IO::Async::Notifier/parent>, L<remove_child|IO::Async::Notifier/remove_child>, L<remove_from_parent|IO::Async::Notifier/remove_from_parent>

=back

