walletnotify parameters explained

5 replies 484 views
omega2009Member
Posts: 27 · Reputation: 127
#1Dec 31, 2019, 06:36 PM
I couldn't find any Wiki or post that covers this topic. What parameters can we use for walletnotify? So far, I know these: %s transaction ID %b ? %h ? %w wallet name Are there any others?
3 Reply Quote Share
im_lynxHero Member
Posts: 515 · Reputation: 2161
#2Jan 1, 2020, 01:26 PM
That's not true, see https://en.bitcoinwiki.org/wiki/Running_Bitcoind %b gets replaced by the block hash if transaction is confirmed or 'unconfirmed' as long as the transaction is still in the mempool waiting to be confirmed. %h gets replaced by the block height or -1 if not yet confirmed.
6 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#3Jan 1, 2020, 05:32 PM
You can obtain some explanation from bitcoind --help. You also could use bitcoin-qt --help.
5 Reply Quote Share
omega2009Member
Posts: 27 · Reputation: 127
#4Jan 1, 2020, 06:09 PM
I cannot see anything beside these 4 letters. Aren't there any more info from walletnotify? Like amount of BTC? I know I can do
1 Reply Quote Share
omega2009Member
Posts: 27 · Reputation: 127
#5Jan 2, 2020, 01:50 AM
Solved: %s = tx id %b = "unconfirmed" (block hash?) %h = amount %w = wallet name
3 Reply Quote Share
mr_gasMember
Posts: 24 · Reputation: 174
#6Jan 2, 2020, 07:05 AM
Correct link: https://bitcoinwiki.org/wiki/running-bitcoin
5 Reply Quote Share

Related topics