How can I get transaction id or token detail url after minting native token?

I minted the token on the cardano blockchain, but I want to get the detail transaction information after minting it. of course in the daedalus, can get detail information, but when using shell command, how can i get this?
e.g. cardano-cli transaction submit --tx-file matx.signed --$NODE_CONFIG.
After running this command, is there way to get transaction information to naviate the cardano blockchain site ?

1 Like

This is Token GoogleGlass - Cardanoscan.
In the above url, “40df68d19240866759430591e08fde31c1467d0e41e6db8f2ac2bcac” is the policyid, but what is “476f6f676c65476c617373”?

Hi!

you can get the transactionId with this command:

$ cardano-cli transaction txid --tx-file matx.signed
Usage: cardano-cli transaction txid (--tx-body-file FILE | --tx-file FILE)
  Print a transaction identifier

Available options:
  --tx-body-file FILE      Input filepath of the JSON TxBody.
  --tx-file FILE           Input filepath of the JSON Tx.
  -h,--help                Show this help text

then use the official cardano explorer to check the submitted transaction cardano.explorer.org

where do you see that value? yes cardanoscan is also a great place to check it…

when you click the above url, please take a look of url views in the top of the screen.

I think that is the encoded asset name (GoogleGlass)
check the transaction here and hover on asset:
https://explorer.cardano.org/en/transaction?id=2dcb6838537f7f4403ed60aa8a0181d6d50c9d2fbf5ad3789cbc60649c36248b

But How can i get this information from command line in the program?

related: Problem getting asset id from "nft name"?

From my understanding every native token has a pair of ids. One is the minting policy and one is the asset name. Both are hashed most likely for consistency in representation but you would have to ask devs why they choose base16 …

Anyway since it is base16 encoded (which is just computer talk for a hexadecimal value representation) then perhaps just use your favorite programming language or tool of choice to decode it back to ASCII chars in decimal representation?

Here is an online tool from a cursory google search:
https://www.binaryhexconverter.com/hex-to-ascii-text-converter

Wake up, Neo.

Side Note: For your other question as to why it’s in the URI that just means the folks at cardanoscan apparently choose to use the notation policyIdHash.assetNameHash for the route parameter of their /token web API.