++ed by:
FOXCOOL

1 PAUSE user(s)
1 non-PAUSE user(s).

Toby Inkster

NAME

Finance::Bitcoin::Address - a bitcoin address

SYNOPSIS

 use Finance::Bitcoin;
 
 my $uri     = 'http://user:password@127.0.0.1:8332/';
 my $wallet  = Finance::Bitcoin::Wallet->new($uri);
 
 foreach my $address ($wallet->addresses)
 {
   print $address->address . "\n";
   print $address->label . "\n";
   print $address->received . "\n\n";
 }

DESCRIPTION

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

new($endpoint, $string)

Constructor. $endpoint may be the JSON RPC endpoint URL, or may be a Finance::Bitcoin::API object; $string is an address string.

address

Returns the address string.

label

Get/set the address label.

received($minconf)

Returns the total amount received via this address, with at least $minconf confirmations. $minconf defaults to 1.

api

Retrieve a reference to the Finance::Bitcoin::API object being used.

BUGS

Please report any bugs to http://rt.cpan.org/.

SEE ALSO

Finance::Bitcoin, Finance::Bitcoin::Wallet.

http://www.bitcoin.org/.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT

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.

DISCLAIMER OF WARRANTIES

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.