This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Usage: python3 generate.py block_start alias_number | |
#Example: python3 generate.py 4188927 100 | |
import argparse | |
import json | |
def generate_payload(start_block, num_aliases): | |
payload = "query {\n" | |
for i in range(1, num_aliases + 1): |