I built a private testnet with reference to https://github.com/moneroexamples/private-testnet. I want to check the public tx key of the issued tx, but I don't know how to check it. I cannot use https://xmrchain.net/tx/[tx_id] because I use a private testnet. How can I check the public tx key?

1 Answer 1


The public tx key is contained in the extra field. You can use monero-utils-deserialize to decode it from the transaction's hexadecimal representation, which you can get from the daemon, like this:

In monerod:

print_tx TXID +hex

(replace TXID with your transaction's txid)

Then, in a shell:

monero-utils-deserialize --input DATA

(replace data with the output from the previous monerod command)

If the transaction contains a tx public key (and the vast majority do), it will be printed out.

Note that monero-utils-deserialize is only built for debug builds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.