Constructors
constructor
- new Address(value?): Address
Parameters
Optional
value: string | Address | Buffer
Properties
Private
valueHex
valueHex: string = ""
Methods
bech32
- bech32(): string
Returns string
equals
- equals(other): boolean
Returns boolean
hex
- hex(): string
Returns string
isContractAddress
- isContractAddress(): boolean
Returns boolean
isEmpty
- isEmpty(): boolean
Returns boolean
pubkey
- pubkey(): Buffer
Returns Buffer
toJSON
- toJSON(): object
Returns object
toString
- toString(): string
Returns string
Static
Private
fromValidHex
Static
isValid
- isValid(value): boolean
Returns boolean
Static
Private
isValidHex
- isValidHex(value): boolean
Returns boolean
An Address, as an immutable object.