You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /usr/bin/env python3
|
|
import requests
|
|
import json
|
|
for i in range(1,1000):
|
|
url= 'http://10.0.0.100:3001/block/' + str(i)
|
|
r = requests.get(url)
|
|
print(url)
|
|
j = json.loads(r.text)
|
|
print(j['txs'])
|