Decoding values from CBOR

I have the following hex that I decoded from CBOR but I don’t know what it is? How do I determine what it is? It does not appear to be base 58, 64 or a common hash. Any ideas?
8FD7D43678CF0BD8B452DC4BA51EB3BD2BCB931F90742669F5A5C601
Or
0156F9A7D0D7C8B30B6EEE81544A55DCC5EFC6929BC1D67E7F0641CBAA3111F2

Where did you find the CBOR string that you decoded? Without context that tells us awfully little. CBOR is just a data format. It can be used by any application everywhere.

That are exactly 28 bytes. It can very well be a 224-bit hash as they are used everywhere in Cardano. When any Cardano protocol wants a Blake2b-224 hash, it can be any sequence of 28 bytes.

Cbor was here https://preview.cexplorer.io/datum/34b0c267636c22a065c61f52b0052794db795af9ca22418ccda1a0c216bec659

Ah, interesting. Some kind of ADA Handle transaction. Minting of a subhandle?

Anyway, the 8fd7d43678cf0bd8b452dc4ba51eb3bd2bcb931f90742669f5a5c601 in that datum, is a Blake2b-224 hash. In fact, it is the public key hash of the stake key of the address that paid for the mint.

Close, submission of a handle to be minted by decentralized merkle tree infra. I’m trying to find which value holds the name of the desired handle. Maybe it’s not in this tx but another in the same batch.

It’s in the second field of the datum of this input:
screenshot-2025-02-02-21:57:24

This comes out of this transaction:
https://preview.cardanoscan.io/transaction/cc76d519db4eb1f143d042528a93364c4fada8f6e5325a31478c7f88835bb098?tab=utxo
Which, I guess, is your “order” of the mint?

Not mine, I’m just being nosey. Yes! Thank you, I see it now 742d64656d692d3032

Can you share how you found and hashed that public key from the other tx?

1 Like

I did not do any hashing myself. I just went through the inputs and outputs of the transaction to find one that matches (since I figured it has to be one of the involved public key – or script – hashes).

And on https://preview.cardanoscan.io/address/addr_test1qz96txepzdhj7ryyse0mq9a97eey2es07dydshr9cgapgyv06l2rv7x0p0vtg5kufwj3avaa909ex8uswsnxnad9ccqsyaga0j, I saw:

1 Like