Title: solved: Skip optional parameter with php and jsonRPC Post by: winnetou on January 21, 2012, 02:18:59 PM 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) |