Using Random Numbers in Neo Smart Contracts
Jason L Perry
362

Hi Jason, great article.

Quick question — if I send some Gas to a smart contract which then uses your method to generate a random number, is there any way that I will know the nonce number before I send the Gas? Or is strictly true that the Gas arrives in a transaction that is the same or before the last block height thus ensuring the Nonce is generated after I committed to sending Gas?

Thanks