Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetTransferAddress

Substitutes for asset owner data which consists of network id, lockScriptHash, parameters. The network id is represented with prefix "cca"(mainnet) or "tca"(testnet). Currently version 0 exists only.

Refer to the spec for the details about AssetTransferAddress. https://github.com/CodeChain-io/codechain/blob/master/spec/CodeChain-Address.md

Hierarchy

  • AssetTransferAddress

Index

Properties

payload

payload: H256

type

type: number

value

value: string

Methods

getLockScriptHashAndParameters

  • getLockScriptHashAndParameters(): object

toString

  • toString(): string

Static check

Static ensure

Static fromLockScriptHash

Static fromLockScriptHashAndParameters

Static fromPublicKeyHash

Static fromString

Static fromTypeAndPayload

Generated using TypeDoc