BitcoinCashNetwork enum
Class representing a Bitcoin Cash network, implementing the BasedUtxoNetwork abstract class.
- Inheritance
- Implemented types
- Available extensions
Values
- mainnet → const BitcoinCashNetwork
-
Mainnet configuration with associated
CoinConf.const BitcoinCashNetwork('bitcoinCashMainnet', CoinsConf.bitcoinCashMainNet, 'bitcoincash:mainnet', 12) - testnet → const BitcoinCashNetwork
-
Testnet configuration with associated
CoinConf.const BitcoinCashNetwork('bitcoinCashTestnet', CoinsConf.bitcoinCashTestNet, 'bitcoincash:testnet', 13)
Properties
-
coins
→ List<
BipCoins> -
no setteroverride
- conf → CoinConf
-
Overrides the
confproperty fromBasedUtxoNetworkwith the associatedCoinConf.final - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isMainnet → bool
-
Checks if the current network is the mainnet.
no setteroverride
- name → String
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - networkHRP → String?
-
no setter
-
p2pkhNetVer
→ List<
int> ? -
Retrieves the Pay-to-Public-Key-Hash (P2PKH) version bytes from the associated
CoinConf.no setteroverride -
p2pkhWtNetVer
→ List<
int> -
Retrieves the Pay-to-Public-Key-Hash-With-Token (P2PKHWT) version byte
final
-
p2sh32NetVer
→ List<
int> -
Retrieves the Pay-to-Script-Hash (P2SH32) version bytes from the associated
CoinConf.final -
p2shNetVer
→ List<
int> ? -
Retrieves the Pay-to-Script-Hash (P2SH20) version bytes from the associated
CoinConf.no setteroverride -
p2shwt20NetVer
→ List<
int> -
Retrieves the Pay-to-Script-Hash (P2SH20) version bytes from the associated
CoinConf.final -
p2shwt32NetVer
→ List<
int> -
Retrieves the Pay-to-Script-Hash (P2SH32) version bytes from the associated
CoinConf.final - p2wpkhHrp → String?
-
Retrieves the Human-Readable Part (HRP) for Pay-to-Witness-Public-Key-Hash (P2WPKH) addresses
from the associated
CoinConf.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedAddress
→ List<
BitcoinAddressType> -
final
- tag → int
-
final
-
wifNetVer
→ List<
int> ? -
Retrieves the Wallet Import Format (WIF) version bytes from the associated
CoinConf.no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BitcoinCashNetwork> - A constant List of the values in this enum, in order of their declaration.