Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • PlatformAddress

Index

Constructors

Private constructor

Properties

accountId

accountId: H160

value

value: string

Methods

getAccountId

  • getAccountId(): H160

toString

  • toString(): string

Static check

  • check(address: any): boolean

Static Private checkString

  • checkString(value: string): boolean

Static ensure

Static ensureAccount

Static fromAccountId

Static fromPublic

Static fromString

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

Generated using TypeDoc