Questions tagged [wasm-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

How to get block info (e.g. block hash code) in smart contract?

I want to use action context information, such as block hash code, to generate number as "random" numbers in smart contract. But I can't find any interface to get block hash code.