NervosAddress

Represents a Nervos address.

Constructors

Link copied to clipboard
open fun NervosAddress(string: String)
Initializes an address from a sring representaion.

Functions

Link copied to clipboard
open fun args(): Array<Byte>
Returns the address args data.
Link copied to clipboard
open fun codeHash(): Array<Byte>
Returns the Code hash
Link copied to clipboard
open fun description(): String
Returns the address string representation.
Link copied to clipboard
Compares two addresses for equality.
Link copied to clipboard
open fun hashType(): String
Returns the address hash type
Link copied to clipboard
open fun isValidString(string: String): Boolean
Determines if the string is a valid Nervos address.