ZilAddress class
extends the Address to Zillia Standard
Constructors
- ZilAddress(String str)
- constructor super from Address
Properties
- address → String
-
Returns this address in a hexadecimal representation, without any prefix
no setteroverride
- bech32 → String
-
no setter
- bnAddress → BigInt
-
no setter
-
byteAddress
→ List<
int> -
no setter
- bytes20Hex → String
-
no setter
- checkSumAddress → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hex → String
-
Returns this address in a hexadecimal representation, with 0x prefixed.
no setterinherited
- hexAddress → String
-
no setter
- isValid → bool
-
no setter
- number → BigInt
-
The number associated with the address
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBigIntAddress(
dynamic str) → BigInt -
isAddress(
dynamic str) → bool - check if address is valid
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toByteAddress(
String address) → List< int> - conver hex string to Byte
-
toBytes20Hex(
String address) → String -
toCheckSumAddress(
String address) → String - convert address to checkSumAddress
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asyncFromPrivateKey(
String privateKey) → Future< ZilAddress> -
asyncFromPublicKey(
String publicKey) → Future< ZilAddress> -
fromAddress(
String address) → ZilAddress -
fromBigInt(
BigInt number) → ZilAddress -
fromPrivateKey(
String privateKey) → ZilAddress -
fromPublicKey(
String publicKey) → ZilAddress -
getAddressType(
String raw) → AddressType -
toCheckSum(
String address) → String -
toValidAddress(
String addr) → dynamic