Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: wsxdrfv on July 05, 2018, 01:34:55 AM



Title: walletnotify possible options?
Post by: wsxdrfv on July 05, 2018, 01:34:55 AM
I only know %s followed after walletnotify, and this is transaction ID's option,

are there other option like %x or %a  or whatever different to receive different variables?

Thanks.


Title: Re: walletnotify possible options?
Post by: achow101 on July 05, 2018, 02:11:20 AM
No, there is not.


Title: Re: walletnotify possible options?
Post by: boulderchain on July 05, 2018, 08:45:54 AM
I don't think so, but you can use the %s in a script and query the other information you will need with the CLI oder Daemon. So, for example
Code:
./bitcoin-cli gettransaction 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

You should receive all data you need with this command.