Info blockchain from Pyteal

Hello,

I want to know the last number block and the hash of this block from byteal and the time current.
I search in Transaction Fields and Global Parameters but i not found it.

  • timestamp of last block: Global.latest_timestamp()
  • current round/block number: Global.round() (last block can be obtained by subtracting 1)
  • previous block hash: not available. Which use case do you have in mind?

See Transaction Fields and Global Parameters — PyTeal documentation