Skip to content

Instantly share code, notes, and snippets.

Last active December 23, 2022 06:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
from web3 import Web3, HTTPProvider
import streamlit as st
st.header("Ethereum Address Explorer")
address = st.text_input("Wallet Address")
submit = st.button("Fetch Txs")
if submit:
txs = w3.provider.make_request('qn_getTransactionReceiptsByAddress', [
"accounts": [address]
for r in txs["result"]:
tx = (
f'TxHash: **[{r["transactionHash"]}]({r["transactionHash"]})** \n From: **{r["from"]}** \n To: **{r["to"]}**')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment