AddressUtils class

Provides series of address validation methods, integrated within checkAddressValid.

Constructors

AddressUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

checkAddressValid(String address, WalletSetting conf) bool
checkBase58Address(String address, String regExp, [int length = 32]) bool
checkBech32Address(String address, String prefix, int length) bool
checkBtcAddress(String address, [NetworkType? networkType]) bool
checkEthAddress(String address) bool
checkFilecoinAddress(String address, dynamic conf) bool
checkKasAddress(String address, String prefix) bool