A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [address]

This tag should be used for Bitcoin addresses. A Bitcoin address is an encoding of the hash of an ECDSA public key or a script. Knowledge of this value allows a user to send Bitcoins to another person over the network. Bitcoin addresses begin with a '1', '3', or 'bc1'. Not to be confused with mailing addresses or IP addresses.

Filter by
Sorted by
Tagged with
4
votes
1answer
173 views

How many possible addresses per bitcoin private key?

Based on my research every bitcoin private key (compressed or uncompressed) can have 4 different addresses: P2PKH compressed and starts with 1 P2PKH uncompressed and starts with 1 P2SH and starts ...
0
votes
1answer
35 views

How To get Address Public Key from Account XPUB?

I am little bit confused or not able to get the right Address Node Public key from Account XPUB. What i have Done : 1==> Get the Account XPUB [78Bytes] 2==> SHA-256 3==> SHA-256 Again 4==> ...
1
vote
3answers
38 views

How are UTXO forwarded to other addresses?

this is a pretty general, conceptual question. I feel I do not yet completely understand the blockchain transaction dynamics. Let's say, we have A, B and C trading on the Blockchain: A has ...
1
vote
1answer
33 views

How many bits of entropy is a Bitcoin address?

I've seen references to 160 bits of entropy, but I'm not sure if this is universal or just applies to the old address format.
0
votes
1answer
22 views

How to display Recipient Address, Change Address & Transaction Amount

I have made A software in which i can Signed Transaction (From Electrum Un-Signed Transaction HEX), i just want to display the following thing to USER in Readable Mode : 1. Recipient Address 2. Change ...
0
votes
1answer
39 views

How to monitor Bitcoin address for new transactions?

I have some generated Bitcoin addresses which I want to monitor for newly received transactions, I have a full node but I don't want to import those addresses to the node's wallet. I don't want to use ...
1
vote
2answers
52 views

Calculate transaction fee for external addresses which doesn't belong to my local bitcoin-core server?

I am doing transaction on addresses which are created outside of my local bitcoin-core server using third party lib. I am having its private/public key. I am able to create raw transaction using "...
0
votes
2answers
47 views

How to get both confirmed and unconfirmed transaction details of foreign(non-wallet) addresses from bitcoin-node server?

How to get both confirmed and unconfirmed transaction details of foreign(non-wallet) addresses from bitcoin-node server? Actually i have generated the addresses using third party library and sent some ...
1
vote
1answer
36 views

Bech32 Multisig error: Witness requires empty scriptSig (code 64)

I've been able to do multisig between two addresses from electrum and one from bitcoind. [root@test bin]# bitcoin-cli -testnet getnewaddress n3JewuY82cprdRvxHdRNG8C3iTkJBKeLbz [root@test bin]# ...
1
vote
1answer
53 views

How to get the pool name from coinbase transaction?

Is it possible to retrieve the name of the pool that mined a block looking at the address in the coinbase transaction? For example, the address in the coinbase transaction of block ...
0
votes
1answer
71 views

Calculate Unspent using private keys

Can we calculate unspent of addresses which are generated from other node server if we are having private/public key of those addresses?
0
votes
1answer
62 views

How to quickly get the balance of any bitcoin address? (with no third-party API)

As some people have mentioned (eg. here), the only way to get the balance of an address in bitcoin core was to import it as a watch-only address and rescan the blockchain. Starting with bitcoin core ...
0
votes
1answer
24 views

Get scripthash for known scriptPubKey in PHP

I have to query addresses in ElectrumX server. How do I generate scripthash for a known scriptPubKey in PHP? Example address: array ( 'isvalid' => true, 'address' => '...
1
vote
1answer
41 views

How to find address that holds the balance in Bitcoin Core?

I am unable to find the address that holds my balance in Bitcoin Core. All receiving addresses has a balance of 0. But there is a balance in the wallet. How do I find the address that holds that ...
1
vote
1answer
35 views

Why bech32 addresses can’t be mixed case?

I know that they cannot be mixed case due to their BIP but what was the intention behind this idea and would it be problematical to convert a mixed case bech32 address to a lower/upper case bech32 ...
0
votes
0answers
19 views

I want to send Bitcoin to a wallet. That wallet is to receive the bitcoin at a future date [duplicate]

As the title says I want to send Bitcoin to a wallet. That wallet is to receive the bitcoin at a future date. Basically I'd like to hodl some of my Bitcoin to be paid to my Children far into the ...
2
votes
1answer
34 views

Cannot get the same address format from zeroMQ and Bitcoin Core

I use nodejs with this npm library: const bitcoinjs = require('bitcoinjs-lib'); // version "^5.1.6" I received a rawTx from zeroMq, then extract it: const tx = bitcoinjs.Transaction.fromHex(rawTx);...
0
votes
1answer
23 views

How Extracting address Bitcoin to script multi signature

I want to extract the correct address from a script multi-signature. I have this real script multi-signature from this ScriptSig (tx index 1), so this is a readme script for this address OP_2 ...
0
votes
0answers
34 views

Trying to programmically generate unused receiving address from a xPub

I'm trying to generate unused receiving Bitcoin address from xPub using PyWallet python library . I got the xPub from my BIP32 Electrum wallet. Here is what I tried from pywallet import wallet ...
0
votes
3answers
49 views

How can the wallet identify public addresses are linked to a private address

As the wallet can generate many public addresses from a private address. How does the wallet know that any transaction from or to the wallet is for that private wallet if the in and out can be any ...
2
votes
1answer
44 views

Address Reuse issue

I dont understand how security works with multiple address using. I am trying to guess how security works here but need some feedback, so here are a few questions, and my own guesses. If I have total ...
0
votes
2answers
34 views

Who do I send money to if I want to create an OP_RETURN transaction

I simply want to store one small string in the blockchain. That's it. I am reading here a step by step guide but there is little in terms of explanation beyond the code snippets. What I would like to ...
0
votes
1answer
16 views

What is the dummy_address when creating an OP_RETURN in this example?

Here we see: mainnet = 0 if mainnet: dummy_address = "1111111111111111111114oLvT2" else: dummy_address = "mfWxJ45yp2SFn7UciZyNpvDKrzbhyfKrY8" What is this? No explanation is given. Can I ...
1
vote
1answer
109 views

What are the difference between a segwit and legacy wallet

I am installing a mobile wallet and it ask me what type of address I want to use, I want to try and use a segwit address but is there a risk that my coins will be lost if I try to transfer fund from ...
1
vote
3answers
67 views

How can I generate thousands of receiving addresses from a Bitcoin wallet?

I want to generate thousands of receiving addresses without sending any BTC to another wallet. Is it possible and how?
2
votes
2answers
196 views

How can someone lose funds in Lightning Network?

In Bitcoin once you own a private key associated with an address that had bitcoins on it, your funds are theoretically safe for ever. But on the Lightning Network, I see that once you send bitcoin to ...
1
vote
1answer
32 views

address list in “getrawtransaction”

i have a confuse about the "getrawtransaction" RPC function,it returns a json object, which contains the addresses list in the "vout" object,like below.It took me some time to understand when the ...
0
votes
1answer
46 views

How do miners determine if a wallet has sufficient funds

I have ready about 10 posts that are similar and none of them seem to answer my question so any help is appreciated. My question is how to miners technically determine if a "wallets" has the "...
1
vote
1answer
55 views

How to programmatically send Bitcoins without requiring a local copy of the blockchain?

I'm quite new to Bitcoin development! I've seen the documentation about RPC commands, available when you have a local copy of the blockchain. But I'd like to know if it's possible to create and ...
3
votes
1answer
82 views

Fundamentals: Addresses don't hold coins, wallets do?

In the beginning it was my understanding that: Every address has a private key Every address has a balance Every address may send and receive coins. This is simple. But now I am using more proper ...
0
votes
2answers
36 views

Can addresses used in a single tx be assumed to be from the same wallet?

can addresses of input of a single tx be always considered as belonging to same account? Above is a sample transaction on bitcoin. Here, input addresses are 3P2hJg8iRSBExAjd9yQGaazCLPFLeGB3hU (0....
7
votes
2answers
503 views

Most efficient way to store Segwit Address in a database

This is not a duplicate of What is the most efficient way to store bitcoin addresses in a database? but it's the same question except I need a segwit answer. Let's say I wanted to store every ...
3
votes
1answer
67 views

Bitpay unused address - has balance

So, I have a wallet - and the balance is incorrect. I have looked into it a bunch and finally tracked down what I think is the issue. If I view all of the addresses used in my wallet I see a list of ...
0
votes
0answers
21 views

Hidden wallet address? [duplicate]

A wallet --------send bitcoin(0.0113BTC)------------> B wallet Awallet address list 2NGEB7pAJz2qVsd38yWvwR2fogeVf94xbQZ 2N8JupKNkFCN1dBzmymbHuJLeYsobWPCEa5 2N51bmRSUE2nWdZZtESumvz6HNjmNA8frSB ...
1
vote
1answer
44 views

about Bitcoin address

I'm studying bitcoin. I have a question because I was curious about the part of wallet. Can I send it to the wrong address format? The address format is correct, but is it possible to send bitcoin if ...
2
votes
1answer
190 views

How do I export an xpub from Bitcoin Core for use in BTCPayServer?

I'm using Bitcoin Core 0.17, and using bitcoin-cli getaddressinfo method to extract xpub for a given address. This xpub is 66 characters long, and I'm using BTCPayServer which needs this xpub and I'...
0
votes
0answers
31 views

Bitstamp and deposit address

I have a Bitstamp account and when I try to use the API for bitcoin deposit I discover that there is a unique address for my bitcoin deposit. It is safe in term of address reuse consideration ? Here ...
1
vote
2answers
132 views

How to use `scantxoutset`

Looking to fetch the UTXOs for a given address and can't seem to find the correct command syntax. Here is an implementation in bitcoin-core via javascript, but I also experience the same on bitcoin-...
1
vote
3answers
495 views

How does a wallet get the public key from an address?

I was under the impression that addresses are just an encoded, hashed public keys with a prefix and that only the public key is used on the blockchain (not the address) for transactions. But if the ...
0
votes
1answer
58 views

Public Key VS Wallet Address - What is the difference?

I am seeing a lot of contradictory information on why we now use Wallet Addresses rather than Public Keys. Some say that due to additional level of hashing (double hashing), Wallet addresses are ...
0
votes
2answers
231 views

How to get input address and amount from vin using bitcoin core rpc

I am trying to find details of every transaction using bitcoin core rpc. First, I using bitcoin-cli getblock to get the block data, then use bitcoin-cli getrawtransaction to get the transaction ...
1
vote
1answer
35 views

For the 3 bitcoin address types, which can send to each other? Can a valid tx be created that spends to an unspendable address?

I'm just getting started with using bech32 addresses instead of legacy addresses, and I'm not familiar with how the legacy vs segwit compatible vs bech32 addresses play with each other. Can I get an ...
0
votes
1answer
116 views

GREP help: Bitcoin address/key buried as text somewhere on hdd

So in a drunken moment of genius I had forgotten about, I bought some bitcoin way back. And I buried the address and key in some file... I was being tricky lol. That likely also led me to abandon a ...
0
votes
1answer
79 views

How do I extract the address from a scriptPubKey?

I am creating a block parser and just learned about Scripts in Bitcoin yesterday which is kind of confusing so far. I want to extract the addresses involved in each transaction. Right now, I am able ...
1
vote
1answer
77 views

A more updated address clustering method?

say i have a transaction details of one address from blockchain info. is there a more updated heuristics for address clustering ? i.e. if a transaction has 2 output which address belongs to a ...
0
votes
1answer
183 views

Bitcoin Core `getaddressesbyaccount` method not found (-32601)

On macOS Mojave I have a full bitcoin node synced using bitcoind. I want to get the public address of the default account (i.e. the empty string ""). So I run bitcoin-cli getaddressesbyaccount "" ...
1
vote
2answers
106 views

Convert 33-byte public key with no parity prefix to address

I'm writing a blockchain parser and I keep running into this type of scriptPubKey in the Litecoin blockchain: 20a75ca72ffd994d2004d67b0e89015913f7352455d0111ede590430037c9fe2ac ...
0
votes
2answers
52 views

How do I find out where a bitcoin address is from?

I am not looking necessarily a name but more like is it an offline, coinbase, blockchain.com, etc... I had $80 sent from my account yesterday and it says it went to ...
0
votes
0answers
23 views

Are there any btc addresses that periodically create a transaction at a regular interval?

I'm looking for any known bitcoin addresses that send or receive money at regular intervals. For example, once per day, an amount from a hot wallet might be sent to a cold wallet. Are there any ...
0
votes
0answers
53 views

Generating TXID from transaction's data [duplicate]

As I understand, we can generate a TXID by hashing transaction data through SHA256 twice, and as you know probably, A bitcoin transaction is just a bunch of data that describes the movement of ...