Yes there is, although not yet for a specific block (or slot) number. See EIP-4399: Supplant DIFFICULTY opcode with RANDOM and also Solidity Deep Dive: New Opcode 'Prevrandao' about this.
Yes there is, although not yet for a specific block (or slot) number. See EIP-4399: Supplant DIFFICULTY opcode with RANDOM and also Solidity Deep Dive: New Opcode 'Prevrandao' about this.