0

small (maybe) easy question.

i want to find with blockfrost a "message" on a transaction.

can someone help me a bit for this? i dont find currently anything.

thank you in advanced. TTS17

4
  • 1
    By "message" on a transaction do you mean finding transaction metadata given a transaction hash? There is this Blockfrost resource or this Koios resource.
    – keefie
    Commented Apr 23, 2022 at 6:49
  • i think we speak for the same. developers.cardano.org/docs/governance/… i think it is the ""Handling ill-formed 674 metadata"" thank i will do some test with real transactions and message. i want to ask people to text something specific and when i find transaction with this message, to do something else
    – TTS17
    Commented Apr 23, 2022 at 14:36
  • perfect, i found one transaction with msg in cardanoscan and execute this command. ----- curl -H 'project_id: mainnetID' cardano-mainnet.blockfrost.io/api/v0/txs/…
    – TTS17
    Commented Apr 23, 2022 at 14:45
  • 1
    Good to know! I have added an answer after your clarification so feel free to mark it as answered. Don't hesitate to comment asking for more details if you need more info too
    – keefie
    Commented Apr 24, 2022 at 2:34

1 Answer 1

2

Given the message in your context is the CIP 20: Transaction message/comment metadata, you can query this Blockfrost resource or this Koios resource to retrieve the metadata of a transaction given its hash, specifically retrieving the details under the 674 label.

3
  • thank you mate, is something i have found with combination of your answer and my research. you have verify and then i test it. is so great what all is possible :)
    – TTS17
    Commented Apr 25, 2022 at 2:32
  • Glad to be of help. Don't hesitate to add a comment if you have any further related questions.
    – keefie
    Commented Apr 25, 2022 at 15:11
  • thank you, i will try to use this with BASH and collect a number from there, and then compare it with the APOCH number :)
    – TTS17
    Commented Apr 25, 2022 at 16:17

Your Answer

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

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