Bitcoin Forum
December 10, 2016, 06:39:11 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: solved: Skip optional parameter with php and jsonRPC  (Read 3290 times)
winnetou
Sr. Member
****
Offline Offline

Activity: 361


View Profile
January 21, 2012, 02:18:59 PM
 #1

Hello,

I want to list ALL transactions of my bitcoin server but I can not figure out how to skip the optional "account" parameter in PHP.

I tried the following code snippets, unfortunately none of these is working:

$bitcoin->listtransactions("",5000,0);
$bitcoin->listtransactions(null,5000,0);
$bitcoin->listtransactions(5000,0)

Quote
listtransactions   [account] [count=10] [from=0]
Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts.

Hope somebody can help me!

Thanks!

SOLVED: "*" does it. e.g. listtransactions("*",5000,0)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!