Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Finance::Bitcoin::AddrUser3Contributed Perl DocumeFinance::Bitcoin::Address(3)

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.

perl v5.24.1			  2014-03-10	  Finance::Bitcoin::Address(3)

NAME | SYNOPSIS | DESCRIPTION | BUGS | SEE ALSO | AUTHOR | COPYRIGHT | DISCLAIMER OF WARRANTIES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Finance::Bitcoin::Address&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help