mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-20 13:28:10 +02:00
Add files via upload
This commit is contained in:
parent
f8ba493932
commit
a916e03fe4
1 changed files with 5 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue