VTUBE - Bitcoin Software!Faucets Auto Collector! Get 1 Bitcoin per

Bitcoin wallet Search

Bitcoin Wallet / July 25, 2017

Module Version: 0.902

Finance::Bitcoin::Wallet - a bitcoin wallet

use Finance::Bitcoin; my $uri = ''; my $wallet = Finance::Bitcoin::Wallet->new($uri); print "Have: " . $wallet->balance . "\n"; $wallet->pay($destination_address, $amount); print "Now have: " . $wallet->balance . "\n"; foreach my $address ($wallet->addresses) { print $address->label . "\n"; }

This module is part of the high-level API for accessing a running Bitcoin instance.

Constructor. $endpoint may be the JSON RPC endpoint URL, or may be a Finance::Bitcoin::API object.

Returns the current balance of the wallet.

Pays some bitcoins to an account, causing the balance of the wallet to decrease. $dest may be a Finance::Bitcoin::Address, or an address string.

Returns a list of receiving addresses - i.e. addresses that can be used by other people to send money to this wallet. Each item on the list is a Finance::Bitcoin::Address object.

This list may be non-exhaustive!

Creates a new receiving address - i.e. an address that can be used by other people to send money to this wallet. $label is an optional human-friendly name for the address. Returns a Finance::Bitcoin::Address object.

Please report any bugs to .

Finance::Bitcoin, Finance::Bitcoin::Address.

Copyright 2010, 2011, 2013, 2014 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Source: search.cpan.org