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
from web3 import Web3, HTTPProvider | |
endpoint = 'YOUR_ENDPOINT_URL_HERE' | |
connection = Web3(HTTPProvider(endpoint)) | |
address = input("Enter ETH wallet address: ") | |
balance = connection.fromWei( | |
connection.eth.getBalance(address, 'latest'), 'ether') | |
print(f"Balance: {balance} ether") |
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
from web3 import Web3, HTTPProvider | |
import streamlit as st | |
w3 = Web3(HTTPProvider(YOUR_QUICKNODE_ENDPOINT_URL)) | |
st.header("Ethereum Address Explorer") | |
address = st.text_input("Wallet Address") | |
submit = st.button("Fetch Txs") |
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
const solanaWeb3 = require('@solana/web3.js'); | |
(async () => { | |
const SP = <YOUR_URL>; | |
const QN = <QN_ENDPOINT>; | |
const testCount = 7; | |
const establishConnection = async (rpcProvider) => { | |
const connection = new solanaWeb3.Connection(rpcProvider, 'confirmed'); |
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
// Import required modules | |
const solana = require('@solana/web3.js'); | |
const bs58 = require('bs58'); | |
// Set required variables | |
const PRIVATE_KEY = [YOUR_PRIVATE_KEY_FROM_PHANTOM_WALLET]; | |
const ENDPOINT = [YOUR_QUICKNODE_ENDPOINT_URL]; | |
// List of account addresses for lookup table | |
let tableEntries = [ |
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
Filter ID: 0x82 | |
Transactions: 6 | |
Filter ID: 0x83 | |
Transactions: 0 | |
Filter ID: 0x84 | |
Transactions: 1 | |
Filter ID: 0x85 | |
Transactions: 4 | |
Filter ID: 0x86 | |
Transactions: 0 |