Add files via upload

This commit is contained in:
curly60e 2022-04-28 16:59:40 -03:00 committed by GitHub
parent f8ba493932
commit a916e03fe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3137,7 +3137,7 @@ def searchTXS():
def untxsConn():
try:
conn = """https://mempool.space/api/mempool/txids"""
conn = """curl -s https://mempool.space/api/mempool/txids | jq -C '.[]' """
a = os.popen(conn).read()
clear()
blogo()
@ -3361,15 +3361,13 @@ def getrawtx(): # show confirmations from transactions
print(output)
responseC = input("Tx: ")
url2 = f'https://mempool.space/api/tx/{responseC}/merkle-proof'
r = requests.get(url2)
r2 = str(r.text)
r3 = r2
list = "curl -s https://mempool.space/api/tx/" + responseC + """/merkle-proof | jq -C '.[]'"""
a = os.popen(list).read()
clear()
blogo()
print("\nTx: " + responseC)
print(f'Merkle Proof: {r3}')
input("\n")
print("\nMerkle Proof: " + a)
input("\nContinue...")
except:
pass