Cognitive radio (CR) is a novel concept developed to solve concerns such as spectrum underutilization and scarcity. Spectrum detection methods are employed in the blockchain-based CR to make optimum use of the spectrum reserves. In this paper, an attempt is made to evaluate the effectiveness of an energy sensor using collaborative spectrum detection. Wideband is defined as the frequency range between 470 MHz and 790 MHz, and additive white Gaussian noise (AWGN) is employed. The probability of detection ( P d ) under different situations is examined using detection in the receiver operational curve (ROC). According to the findings, the P d increases with the number of samples. This form of sensing, which is thought to be the easiest and best, uses energy-detecting spectrum sensing. To address ambiguity, the M-ary QAM technique is provided, which increases aggregate effectiveness in terms of the percentage of false alarm ( P f ) and probability of missed detection ( P m ) by 5% at a comparable delay period. When CR encounters shadowing and impacts situations, the client cannot tell the difference between an underutilized zone and fading. In comparison to the existing model, this study increases the likelihood of detecting a 3 dBm SNR for a 64-QAM modulated signal by at least 15%.