Skip to content

> Transaction: 34ea36ce66ffe0ed54bc47b98874c6e262d5de96474808cbbca77834dd132964 #5

@Horlabrainmoore

Description

@Horlabrainmoore

Crypto portfolio update

Portfolio value: $100,882,905,012.51

Past day return: +$1,903,177,423.30 (+1.92%)


```https://links2.cointracker.io/u/click?_t=52e482ca0b874b77945a2bb7da40c25d&_m=5c69d728f18248a997934a87c0caba87&_e=M4dDvQcCkBK84-0e-iTXlPHLGw5iobeZIF507zUcQLNV9Bx966TegYUHbofrZz4LHc1S9CCKMrfjS6U0fVhsWo5ZZEhe21Z9C0W4foBcVzF4kCIL0RIKf7YaNe6Ufs0JOo0mxK1eFGT_mMVU5Zevb2lA3knWDdFKl1KyAzuIiIvBKN0xVBxEaXAslF2xsY17ChrnXZeVYhuo1E8kUEMT4dcFJkbn-LFT8sOWRMKh405xCfB6KeBf5AdOhgMEqQTLoWfC4IKiu-095iKAA9u5_je2DqacVyRsDyDGXceZIYUSGN2NVAbYCi9-lwgBkNT_fwtjAkAP6B0rbCEZW5PfrC1Z3ZGshP7daBlxj98OsY7Ckjc0bwvMs5Ow88wvrv9W>#1```

- [ ] ```Bitcoin Transfer:3BFzDJzsqyT6aoPXtcLQbEGWGNPXJfoyMc 34ea36ce66ffe0ed54bc47b98874c6e262d5de96474808cbbca77834- [ ] dd132964
> 
> ---

2 new transactions

We have detected 2 new transactions in your wallets and exchanges.

Received 400 BTC and 1 ORDINALS•RUNES, and 2 other tokens to Bitcoin Wallet ...8859v2

Received 400 BTC and 1 Inscription #-344550, and 2 other tokens to Bitcoin Wallet fc27a4...JfoyMc

View all transactions

https://links2.cointracker.io/u/click?_t=52e482ca0b874b77945a2bb7da40c25d&_m=8af1100f792c446982a7e2983c6032b9&_e=L9UPb2Yolr3J_CSOtMvsxqQ9ZZ8J15c3IAQ1sAu9wdsFzCGUbl-ug-Kchpkf8FrA2CWmwcgyOK3Pwr72k0WJzROH-pmz309pilBrX4nLP6w-FhOGoJeJLnPl_LdA9zUOMRvZinSDXhUo01bMWbNS6ixjVkEh8FK36rr1JUUl1tm0YEAUs52HMIJ_gtLtM7vzJvBZ6MtDNyYz8rfVNtJm35dsBTUcMKIn89UmTcBywAM%3D
> `/98932$/transaction/:hash`: Transaction.time is set to 2024-12-19 22:45:59. The timestamp is consistent with [what other BTC explorers say](https://explorer.bitquery.io/bitcoin/tx/34ea36ce66ffe0ed54bc47b98874c6e262d5de96474808cbbca77834dd132964).
> 
> https://api.blockchair.com/bitcoin/dashboards/transaction/fb5ce0b619ff2d7f438b19165cda45b68f436e1d838d4630ed151c9c5a93ea2f
> 
> ---
> `/dashboards/address/:address?transaction_details=true`: The same transaction mentioned in `data.address.transactions`  has a different, incorrect timestamp: https://api.blockchair.com/bitcoin/dashboards/address/3BFzDJzsqyT6aoPXtcLQbEGWGNPXJfoyMc?transaction_details=true
> 
> <img width="580" alt="Screenshot 2024-11-11 at 01 16 54 PM" src="https://github.com/user-attachments/assets/755371f6-9e45-4bbb-a8ff-d9b4bfec9053">
> 


_Originally posted by @Horlabrainmoore in https://github.com/Blockchair/Blockchair.Support/issues/1553- # - [ ] #issuecomment-2467008027_
[]()import requests

# Your Bitcoin address
btc_address = "bc1qn56zm7hsxzdshuxdc7s7ytcv3qznf7wntj80g3"

# API Endpoint for Mempool.space
api_url = f"https://mempool.space/api/address/{btc_address}"

try:
    response = requests.get(api_url)
    if response.status_code == 200:
        data = response.json()
        
        # Display Balance
        balance = data["chain_stats"]["funded_txo_sum"] / 1e8
        print(f"Bitcoin Address: {btc_address}")
        print(f"Balance: {balance} BTC")
        
        # Display Recent Transactions
        print("\nRecent Transactions:")
        for tx in data.get("transactions", [])[:5]:  # Get the last 5 transactions
            txid = tx["txid"]
            amount = tx["vout"][0]["value"] / 1e8  # Convert from Satoshis to BTC
            print(f"TXID: {txid} | Amount: {amount} BTC")
    else:
        print("Error: Failed to fetch data (Status Code:", response.status_code, ")")
except Exception as e:
    print("Error:", str(e))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions