AccountType
public enum AccountType
Account type used in Account and getAccount helper method.
Only relevant for Bitcoin accounts. All Ethereum accounts are STANDARD account type.
Enum Values
STANDARD
Corresponds to standard Ethereum account type and Bitcoin non-segwit account type P2PKH.
Standard Bitcoin addresses always begin with 1 on Bitcoin Mainnet and m or n on Bitcoin Testnet.
Ethereum addresses begin with 0x.
COMPATIBILITY
Corresponds to compatibilty Bitcoin account P2WPKH-nested-in-P2SH.
These addresses always begin with 3 on Bitcoin Mainnet and 2 on Bitcoin Testnet.
SEGWIT
Corresponds to Segregated Witness Bitcoin account type P2WPKH and are also reffered to as bech32 addresses.
These addresses always begin with bc1 on Bitcoin Mainnet and tb1 on Bitcoin Testnet.