ZKAccountType
typedef NS_ENUM(NSInteger, ZKAccountType)
Account type used in getAccount helper method.
Only relevant for Bitcoin accounts. All Ethereum accounts are ZKAccountTypeSTANDARD account type.
ZKAccountTypeSTANDARD
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.
ZKAccountTypeCOMPATIBILITY
Corresponds to compatibilty Bitcoin account P2WPKH-nested-in-P2SH.
These addresses always begin with 3 on Bitcoin Mainnet and 2 on Bitcoin Testnet.
ZKAccountTypeSEGWIT
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.