Constructors
Private constructor
Parameters
accountId: H160
address: string
Methods
Static check
check( address: any ) : boolean
Parameters
Returns boolean
Static Private checkString
checkString( value: string ) : boolean
Parameters
Returns boolean
Static fromAccountId
Parameters
accountId: H160 | string
options: object
networkId: string
Optional version?: undefined | number
Static fromPublic
Parameters
publicKey: H512 | string
options: object
networkId: string
Optional version?: undefined | number
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
The bech32 form of account id. The human readable part(HRP) is used to represent the network. For platform address, the HRP is "ccc" for mainnet or "tcc" for testnet.
Refer to the spec for the details about PlatformAddress. https://github.com/CodeChain-io/codechain/blob/master/spec/CodeChain-Address.md