Skip to content

Instantly share code, notes, and snippets.

@bitbug42
bitbug42 / OpReturn.cs
Last active June 20, 2020 12:57
Scan Bitcoin blocks, looking for OP_RETURN outputs containing text. Requires a synced fullnode and the NBitcoin library
using NBitcoin;
using NBitcoin.RPC;
using System;
using System.IO;
using System.Linq;
using System.Text;
class OpReturnScan
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading;