[Solved] Get transactions of blocks - question


#1

Hello guys, I start to interact with Aeternity node.
Have problem with getting transactions of the blocks. That’s what I do:

  1. https://sdk-testnet.aepps.com/v2/key-blocks/current/hash - this give me the json result: {“hash”:“kh_D15z9B7shUJd8NE1MVFGd3KWMcFJXeTUBAC5Bz3oFR9J5u7Vf”}
  2. https://sdk-testnet.aepps.com/v2/micro-blocks/hash/kh_D15z9B7shUJd8NE1MVFGd3KWMcFJXeTUBAC5Bz3oFR9J5u7Vf/transactions - this gives me the result: {“reason”:“Invalid hash”}

What am I doing wrong?

//TO DELETE
I found out that it should be micro block hash. Sorry for spam.


#2

Hey,

We’re happy you have figured it out :wink:
Albena