Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the words found in the input transaction bytes in bitcoin blockchains
| ResourceFunction["WordsFromBitcoinBlockchain"][blocknumber,amount] returns the words in the transaction inputs in the bitcoin blocks starting from blocknumber and ending with blocknumber + amount. | |
| ResourceFunction["WordsFromBitcoinBlockchain"][blocknumber,amount,prop] returns the given property prop of the words found. | 
Returns the words found in the bitcoin blocks 589,489 through 589,539:
| In[1]:= | ![words = ResourceFunction["WordsFromBitcoinBlockchain"][589489, 50]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/23a6d89a92178845.png) | 
| Out[1]= |  | 
Create a WordCloud from these words:
| In[2]:= | ![WordCloud[words]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/61fafb1975eca538.png) | 
| Out[2]= |  | 
This can be done directly using the optional third argument "WordCloud":
| In[3]:= | ![ResourceFunction[
 "WordsFromBitcoinBlockchain"][589489, 50, "WordCloud"]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/79d6a9606602f244.png) | 
| Out[3]= |  | 
Create a Dataset from the words found:
| In[4]:= | ![Dataset@ReverseSort[Counts[words]]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/4f44537dce42764c.png) | 
| Out[4]= |  | 
This can be done directly using the optional third argument "Counts":
| In[5]:= | ![ResourceFunction["WordsFromBitcoinBlockchain"][589489, 50, "Counts"]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/3657cd49e62911a4.png) | 
| Out[5]= |  | 
Progression of signatures throughout bitcoin blockchain:
| In[6]:= | ![(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/d6045230-583c-4911-b212-642fd475fa23"]](https://www.wolframcloud.com/obj/resourcesystem/images/6e5/6e568f6e-82d4-4a35-90a7-d75627c6bdab/2df225f7c688db64.png) | 
| Out[6]= |  | 
This work is licensed under a Creative Commons Attribution 4.0 International License