Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlatformAddress

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

Properties

accountId

accountId: H160

value

value: string

Methods

getAccountId

  • getAccountId(): H160

toString

  • toString(): string

Static check

Static ensure

Static ensureAccount

Static fromAccountId

Static fromString

Generated using TypeDoc