Btc addresses explanation

I am using many Crypto wallets . I noticed some of my wallets btc address starts with "bc1…( Alphabetically first) while some of them start like 13L…( Numerically first ) . Whats the difference in both the type of btc addresses ?

5 Likes

P2PKH or Legacy Address Format

If your bitcoin address starts with a 1, you’re using a P2PKH or legacy address, for example 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2. This was Bitcoin’s original address format and it still works faithfully to this day. P2PKH, incidentally, stands for Pay-to-Pubkey Hash i.e pay to a hash of the recipient’s public key. Legacy addresses are not segwit compatible, but you can still send BTC from a P2PKH address to a segwit address without any problems. The average fee when sending from a P2PKH address is likely to be higher than when sending from a segwit address, however, because legacy address transactions are larger in size.

P2SH Address Format

P2SH addresses are structured similarly to P2PKH, but start with a 3 instead of a 1, for example 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy. P2SH, which stands for pay to script hash, enables more elaborate functionality than legacy addresses. The P2SH script function is most commonly used for multisig addresses which can specify, for example, that multiple digital signatures are required to authorize the transaction. This address format is also used to enable non-native segwit transactions using a process known as P2WPKH-in-P2SH. The average person sending and receiving coins doesn’t need to concern themselves with the more complex functionality that the P2SH format can bestow: all that matters is that this address type is widely supported and can be used to send funds to both P2PKH and bech32 addresses.

Bech32 Address Format

Bech32 addresses look distinctly different from the P2-style addresses. Each one starts with “bc1” and is longer than a legacy or P2SH address on account of this prefix. Bech32 is the native segwit address format, and is supported by the majority of software and hardware wallets, but a minority of exchanges. Ledger and Keepkey wallets currently don’t support bech32, for instance, and while most exchanges enable sending funds to bech32 addresses, they don’t enable users to receive them with this format. At present, less than 1 percent of BTC is stored in bech32 addresses, although this number is increasing slowly.

Source: NewsBitcoinCom

9 Likes

Just a little to continue:

  1. Legacy is basic type of address, that, as wrote has bigger tx size and bigger fee.
  2. P2SH is seems more universal, but average in tx size and fee.
  3. Segwit is cheapest tx, while less common.
    There is a bitcoin wiki site, where anyone can find list of segwit friendly servises, cool page to check - en.bitcoin.it/wiki/Main_Page
6 Likes

To summarize, Trust wallet is using Bech32 - the SegWit one, the most economical :wink:

1 Like