Questions tagged [address-format]

Collects questions about the address formats of different scripts, differences between address formats, and how to convert between them.

Filter by
Sorted by
Tagged with
0 votes
1 answer
121 views

BTC-Wallet from "Airgap.it" asks for Receipient-Adress-Prefix "1ABC". What format is that?

I am trying to set up a Cold and a Hot Wallet. Hot Wallet = "Exodus" on my everyday mobile phone. Adressformat is Bech32 with Prefix "bc1" or legacy-prefix from format "P2PKH" then adresses start ...
1 vote
2 answers
509 views

Are bech32 and base58 the only address formats?

Are bech32 and base58 the only formats that a Bitcoin address can use or is there another?
8 votes
2 answers
2k views

What is the size of different Bitcoin transaction types?

I found this interesting take on Bitcoin transaction type trends from 2015. As that article is from 2 years ago, I am wondering: a. Are there any newer transaction types? b. What is the average ...
0 votes
1 answer
71 views

Can a coinbase adhering to BIP-0034 (block v2) only pay P2PKH addresses?

I've been working on a bitcoin miner that uses BIP-0034 (block v2). I'm confused about the coinbase transaction of block v2. Does block v2 only accept P2PKH type of address to allow me to receive a ...
8 votes
3 answers
7k views

Benefits of Bech32 addresses?

In Bitcoin core, when generating a new address for receiving a payment, you get this dialogue: There is a tick-box for "Generate Bech32 address". I understand that this is a relatively new feature ...
1 vote
1 answer
236 views

Dust threshold for Testnet

I want to find a dust threshold following this answer: https://bitcoin.stackexchange.com/a/86069/134293 Actually I have a list of transactions coming from listsinceblock in which there are Testnet ...
2 votes
2 answers
216 views

Can one infer that a bc1 address is multisig?

Studying privacy and security implications of revealing if a bc1 address belongs to a multisig wallet vs a regular wallet. I do notice that multisig bc1 addresses are longer than regular ones… P2WSH (...
41 votes
1 answer
5k views

My raw transaction destroyed 0.0284377 BTC. What did I do wrong?

Years ago I designed a .NET module which facilitates the transmission of BTC to my customers. It creates a binary representation of the desired transaction based on the material presented here and ...
1 vote
1 answer
77 views

How can bitfinex send LTC to a Bitcoin address?

It's my fault. However, how come bitfinex doesn't guard against this error? Also how can it be possible? 32uxxMqwrpEKTDodF8BZkuRJGs8ruujoti is clearly not an LTC address. I am not even sure how the ...
1 vote
1 answer
437 views

Litecoin explorer that accepts M-prefixed segwit addresses?

Just realized that the litecoin explorer I was using (blockcypher) doesn't allow me to input M-prefixed segwit addresses (more info). Any other litecoin explorer that can do this?
10 votes
2 answers
3k views

How do virtual size, stripped size and raw size compare between legacy address formats and native segwit?

This answer states that SegWit doesn't reduce transaction size. If this is true, why is it cheaper to send a SegWit transaction?
5 votes
2 answers
7k views

litecoin constants and prefixes

Is there any list of litecoin constants available? Something like Bitcoin list of address prefixes
2 votes
1 answer
126 views

how do you tell P2WSH invoice addresses apart from P2SH?

... and how do you tell P2WPKH invoice addresses apart from P2PKH?
4 votes
2 answers
1k views

Why are segwit transactions cheaper than legacy transactions?

What's the reason to make fees for segwit addresses lower, while keeping legacy addresses with higher fees? -- I'm interested in both, why segwit transactions are cheaper than legacy addresses, and ...
8 votes
3 answers
26k views

How to generate a testnet address?

Bitcoin addresses can be generated on this site https://www.bitaddress.org, but the test network needs m or n at the beginning of the address, where can those be generated?
4 votes
1 answer
10k views

What to do when a website says that my bc1... address is invalid?

I used local Bitcoins wallet to send bitcoin to my bitcoin wallet. But it said wrong address
7 votes
2 answers
3k views

How do transaction costs compare between Bech32 addresses and legacy Bitcoin addresses?

Now that Electrum 3 supports Bech32 addresses for segwit, when sending coins to a legacy address are fees higher or cheaper?
4 votes
2 answers
131 views

Why do bitcoin: URLs not use "//", breaking "clickability"?

I want to have something like this in a plaintext e-mail: Pay directly: bitcoin:addresshere?amount=0.001&label=Blablabla&message=Blablabla But if I do that, it won't be "clickable", ...
5 votes
1 answer
719 views

Why did bech32 define a new base32 encoding scheme rather than use an existing one?

There are multiple existing base32 encodings (RFC 3548/4648, z-base-32, Crockford's etc). Why did bech32 define a new one rather than use an existing one?
3 votes
2 answers
2k views

Is there an address format for P2WPKH or P2WSH?

Is there an address format for P2WPKH or P2WSH? If P2WPKH uses the same address format as P2PKH, how does a wallet know which one to use?
2 votes
1 answer
681 views

How to generate valid BTC address to withdraw coins to

I set up bitcoind, and the complete blockchain is synced. I created a wallet, and I loaded the wallet. How can I generate an address to deposit BTC to? I tried bitcoin-cli getnewaddress and I get this ...
5 votes
1 answer
4k views

Are Bitcoin addresses case sensitive?

I sent $20 to my wallet ex. bc1qa4dk0fqvw7jfpvzgy9xpf7572kv9env9y748ct. But instead I sent it to that address in all caps. I haven't received the money and it's been 3 hours. Are BTC addresses cap ...
0 votes
2 answers
98 views

Code prevention of sending bitcoin to an address on the wrong chain btc/bch/bsv

Since they share several common addressing schemes, can I figure out in code how to send them to the right chain?
6 votes
1 answer
1k views

Qualities of "Pay to Nested Witness Key Hash"

The lightning dev tutorial mentions the np2wkh or Pay to Nested Witness Key Hash address type, and I would like to find out more about it, so far without success. Can anybody explain how they are ...
1 vote
1 answer
257 views

Does input and output size vary by address type?

For instance, we have two outputs, output X sends to a P2SH address, and output Z sends to a P2PKH address. Would output X have a different transaction size than output Z? What about the size of the ...
6 votes
2 answers
6k views

P2WSH, witness_v0_scripthash: how to derive an address

Is there an address associated with P2WSH scripts? for testnet txid =6717c8971dccbf826790efc16fb357f1e225fed3448247b8556c9f13a6c0ce42, i get: "vout": [ { "value": 0.05994165, "n": 0, ...
5 votes
2 answers
5k views

Is it possible to convert an address from p2pkh to p2sh?

Is it possible to convert a p2pkh address to a p2sh address? Also, will the balance of the p2pkh address carry over to the p2sh address?
4 votes
1 answer
929 views

Are Bitcoin and Litecoin test addresses compatible?

It seems to me that they are. I mean you can send test bitcoins to test Litecoin addresses. I don't think it's problem at all, but it can cause some confusion. Real addresses cannot be mixed, but I ...
2 votes
2 answers
4k views

I have mistakenly sent my LTC to (M) address instead of (3) address [closed]

I have mistakenly sent my litecoins to (M) as the starting letter of the address, whereas the Litecoin address now has changed to (3) as the starting letter. So can anyone help me to recover this?
1 vote
2 answers
4k views

BitPay / Copay's Weird Bitcoin Cash Address Format

My CoPay wallet shows my Bitcoin Cash address as CTGUTUgVAwHugpf4CyyjAvj8DCFkE4tpEq. What's going on? I thought both Bitcoin and Bitcoin Cash addresses start with 1 or 3?
9 votes
2 answers
3k views

What the difference between old segwit (3) and new segwit address (bc)?

i'm not that kind of person who understands cryptography and math, can you tell me simply the main purpose of new segwit address? are transactions fee the same for new segwit (bc1)? instead of "Old ...
0 votes
1 answer
551 views

What is the format of a bitcoin wallet?

I was wondering how bitcoin public and private keys are generated. E.g., a certain number of characters etc. And how one could tell a litecoin address from a bitcoin address for instance.
0 votes
2 answers
3k views

Convert list of BTC address(base58) to Ripemd16(base16) [closed]

Are there online tool or repositories that can convert multiple base58 (BTC address) to base16 simultaneously?
3 votes
1 answer
351 views

What is the btc.to address shortening algorithm?

How does the btc.to address shortening algorithm work? Is is a deterministic algorithm, that is, it can be reproduced on other websites with the same results, or are the results specific to the ...
6 votes
2 answers
11k views

Accidentally sent Bitcoin Cash to Bitcoin address held by a third party

I made an exchange on Changelly to exchange my Bitcoins to Bitcoin Cash. These Bitcoin Cash would later be sent to my address. Unfortunately, I did not check twice and had the Bitcoin Cash sent to my ...
1 vote
1 answer
388 views

Which wallets can send to native segregated witness output addresses today?

Which wallets today are able to send to P2WPKH addresses starting with bc1qf…?
13 votes
2 answers
12k views

How do I check the checksum of a Bitcoin address?

I'm working on a Bitcoin ATM. We want to detect addresses that are entered incorrectly. There's a checksum on Bitcoin addresses - but how can we check it?
3 votes
2 answers
805 views

Why does bitcoin create several "empty" wallet addresses?

I'm currently running bitcoind -testnet. I ran bitcoin-cli dumpwallet ~/wallet-output just to explore the output and it looks like it created 102 private/public key pairs that I assume are just sort ...
1 vote
1 answer
302 views

Which crypto currencies have shortest payment address?

Different crypto-currencies have different lengths of payment addresses. For example, LTC address length is 34 case sensitive letters and numbers. NXT address length is 20 digits. Short payment ...
2 votes
1 answer
181 views

What is the "wallet export format"?

The "wallet export format" is mentioned at the Wiki page for Mini private key format, but it doesn't seem to be explained on the Wiki. How does one convert the export format to and from corresponding ...
3 votes
1 answer
443 views

FirstBits address shortening algorithm

Is the algorithm used by FirstBits to create their shortened addresses described anywhere, so that anyone wanting to automatically generate them could generate the same result as asking the website ...