How To Get Master Fingerprint say I have master private key from dumpwallet command:

extended private masterkey: tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX

from there, I derived child key using bx hd-private command



$ xprv=tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX
$ bx hd-private -d $xprv | bx hd-private -d


which returned tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX

I want to derive hardenned addresses within BIP141 m/0'/0'/* (ex. m/0'/0'/0')

using bitcoin-cli deriveaddresses, which I need a correct descriptor. 



$ acctKey=tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX
$ bitcoin-cli getdescriptorinfo "wpkh([fingerprint/0h]$acctKey/0h/*)"
$ descrip="wpkh(xxxxxxxxxx)" 
$ bitcoin-cli deriveaddresses "$descrip"


questions:


How do I get master fingerprint from Master Key?
What is the correct descriptor to use?
Bitcoin Core doesn’t use unhardened keys, so attempting to get a master public key will never work no matter what.