The scroll in Daniel 12 appears to be the same scroll that is in view in the book of Revelation. Turn to Daniel 12:4-9. Daniel is told that the words of the book are shut up and sealed until the time of the end.
Then we see a man clothed in linen standing above the waters of the stream. He raises his right hand and left hand toward heaven and makes an oath that it will be a time, times, and half a time when “all these things would be finished.” Daniel does not understand and it is repeated to him that the words are shut up and sealed until the time of the end.
Now look at Revelation 10:5-7 and notice the image is the same. The angel is standing on the sea, just like the angel in Daniel 12. The angel in Revelation raises his right hand and makes another oath, just as he did in Daniel 12. This time the angel gives an oath that there will no longer be a delay when all these things would be fulfilled.
The angel in Daniel said that there would be a delay. Now, the angel in Revelation says that there will no longer be a delay.
To show the connection further, this information in Revelation 10 comes after the seventh seal is opened on the scroll. The seventh seal reveals seven trumpets that are about to sound. The angel in Revelation 10:7 says that when the seventh trumpet from the seventh seal sounds, all of these things are accomplished concerning the mystery of God. The mystery of God, that is, the things previously sealed by God, would now be revealed and fulfilled.