Author

Topic: solved: Skip optional parameter with php and jsonRPC (Read 3483 times)

sr. member
Activity: 361
Merit: 250
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)
Jump to: