In blockchain, an address is a unique identifier used to represent an account on the network. It serves as a destination for sending and receiving native coins or tokens. Blockchain addresses vary in format and structure depending on the blockchain protocol (e.g., Bitcoin, Ethereum, Solana).
Bitcoin address format
Liminal supports the following formats for Bitcoin (BTC) addresses.
Mainnet Bitcoin Addresses
Legacy Addresses (P2PKH)
- Format: Start with
1
- Example:
1A1zPleP5QGefi2DMPTFTL5SLmv7DivfNa
- Type: Pay-to-PubKey-Hash (P2PKH)
- Description: These are the original Bitcoin address format, representing a hash of the public key.
Pay-to-Script-Hash (P2SH) Addresses
- Format: Start with
3
- Example:
3J98t1WpEZ73CNmQviecr58P8d9kW6g7hD
- Type: Pay-to-Script-Hash (P2SH)
- Description: These addresses allow for more complex scripts, such as multisig wallets. They are hashes of scripts rather than public keys.
Testnet Bitcoin Addresses
Legacy Testnet Addresses (P2PKH)
- Format: Start with
m
,n
, or2
- Example:
n2wzK8Lv1WRnoN4aMWdj5pL6F21RuJjMPH
- Type: Pay-to-PubKey-Hash (P2PKH)
- Description: These are similar to the mainnet P2PKH addresses but are used on the Bitcoin testnet.
Pay-to-Script-Hash (P2SH) Testnet Addresses
- Format: Start with
2
- Example:
2N4D9mN8yZk5LfcRLZvLf5GSHQ5z4r9RxgQ
- Type: Pay-to-Script-Hash (P2SH)
- Description: Similar to mainnet P2SH addresses but for the testnet.
Note:
- Liminal doesn't support the Bech32 address format.