WalletCore
WalletCore
/
wallet.core.jni
/
NervosAddress
Nervos
Address
class
NervosAddress
Represents a Nervos address.
Constructors
Functions
Constructors
Nervos
Address
Link copied to clipboard
open
fun
NervosAddress
(
string
:
String
)
Initializes an address from a sring representaion.
Functions
args
Link copied to clipboard
open
fun
args
(
)
:
Array
<
Byte
>
Returns the address args data.
code
Hash
Link copied to clipboard
open
fun
codeHash
(
)
:
Array
<
Byte
>
Returns the Code hash
description
Link copied to clipboard
open
fun
description
(
)
:
String
Returns the address string representation.
equals
Link copied to clipboard
open
fun
equals
(
lhs
:
NervosAddress
,
rhs
:
NervosAddress
)
:
Boolean
Compares two addresses for equality.
hash
Type
Link copied to clipboard
open
fun
hashType
(
)
:
String
Returns the address hash type
is
Valid
String
Link copied to clipboard
open
fun
isValidString
(
string
:
String
)
:
Boolean
Determines if the string is a valid Nervos address.